MErrors.h
1 /*****************************************************************************
2 **
3 ** Header file for Muster API Error and status codes
4 **
5 ** Name : MClientLib.h
6 ** Author : Leonardo Bernardini
7 ** Version : Alpha 9.0 Wed May 17th 2017
8 **
9 ** Copyright 2000-2017, Virtual Vertex
10 ** All Rights Reserved.
11 **
12 ** This file contains UNPUBLISHED PROPRIETARY SOURCE CODE.
13 ** The contents of this file may not be disclosed to third parties, copied
14 ** or duplicated in any form, in whole or in part, without the prior written
15 ** permission of the author.
16 **
17 *****************************************************************************/
18 #ifndef MCLIENTLIB_ERRORS_H
19 #define MCLIENTLIB_ERRORS_H
20 
29 #define MERR_STATUS_DISCONNECTED 0
30 #define MERR_STATUS_UNAUTHENTICATED 1
31 #define MERR_STATUS_OK 2
32 #define MERR_STATUS_CONNECTED 3
33 #define MERR_STATUS_FAILED 4
36 #define MERR_ERR_OK 0
37 #define MERR_ERR_INSUFFICIENT_USER_RIGHTS 1
38 #define MERR_ERR_FAILED 2
39 #define MERR_ERR_AUTHENTICATION_FAILED 3
40 #define MERR_ERR_OBJECT_ALREADY_EXISTS 4
44 #endif