cMsg Messaging System  6.0
 All Files Functions Variables Typedefs Enumerator Macros
cMsgConstants.h
Go to the documentation of this file.
1 /*----------------------------------------------------------------------------*
2  *
3  * Copyright (c) 2004 Southeastern Universities Research Association, *
4  * Thomas Jefferson National Accelerator Facility *
5  * *
6  * This software was developed under a United States Government license *
7  * described in the NOTICE file included as part of this distribution. *
8  * *
9  * E.Wolin, 14-Jul-2004, Jefferson Lab *
10  * *
11  * Authors: Elliott Wolin *
12  * wolin@jlab.org Jefferson Lab, MS-6B *
13  * Phone: (757) 269-7365 12000 Jefferson Ave. *
14  * Fax: (757) 269-5800 Newport News, VA 23606 *
15  * *
16  * Carl Timmer *
17  * timmer@jlab.org Jefferson Lab, MS-6B *
18  * Phone: (757) 269-5130 12000 Jefferson Ave. *
19  * Fax: (757) 269-5800 Newport News, VA 23606 *
20  * *
21  * Description: *
22  * *
23  * Defines cMsg API and return codes *
24  * *
25  * *
26  *----------------------------------------------------------------------------*/
27 
28 #ifndef _cMsgConstants_h
29 #define _cMsgConstants_h
30 
31 
32 /* endian values */
34 #define CMSG_ENDIAN_BIG 0
35 
36 #define CMSG_ENDIAN_LITTLE 1
37 
38 #define CMSG_ENDIAN_LOCAL 2
39 
40 #define CMSG_ENDIAN_NOTLOCAL 3
41 
42 #define CMSG_ENDIAN_SWITCH 4
43 
44 
45 /* debug levels */
47 #define CMSG_DEBUG_NONE 0
48 
49 #define CMSG_DEBUG_SEVERE 1
50 
51 #define CMSG_DEBUG_ERROR 2
52 
53 #define CMSG_DEBUG_WARN 3
54 
55 #define CMSG_DEBUG_INFO 4
56 
57 
58 /* regime values */
60 #define CMSG_REGIME_MEDIUM 0
61 
62 #define CMSG_REGIME_LOW 1
63 
64 #define CMSG_REGIME_HIGH 2
65 
66 /* failover values */
68 #define CMSG_FAILOVER_ANY 0
69 
70 #define CMSG_FAILOVER_CLOUD 1
71 
72 #define CMSG_FAILOVER_CLOUD_ONLY 2
73 
74 /* cloud values */
76 #define CMSG_CLOUD_ANY 0
77 
78 #define CMSG_CLOUD_LOCAL 1
79 
80 
81 /* shutdown flags */
83 #define CMSG_SHUTDOWN_INCLUDE_ME 1
84 
85 
87 enum {
88  CMSG_OK = 0,
114 };
115 
116 
120 enum {
121  CMSG_CP_STR = 10,
148 };
149 
150 
151 
152 #endif /* _cMsgConstants_h */
Definition: cMsgConstants.h:106
Definition: cMsgConstants.h:93
Definition: cMsgConstants.h:128
Definition: cMsgConstants.h:109
Definition: cMsgConstants.h:91
Definition: cMsgConstants.h:126
Definition: cMsgConstants.h:131
Definition: cMsgConstants.h:139
Definition: cMsgConstants.h:103
Definition: cMsgConstants.h:102
Definition: cMsgConstants.h:137
Definition: cMsgConstants.h:95
Definition: cMsgConstants.h:88
Definition: cMsgConstants.h:113
Definition: cMsgConstants.h:108
Definition: cMsgConstants.h:135
Definition: cMsgConstants.h:125
Definition: cMsgConstants.h:96
Definition: cMsgConstants.h:123
Definition: cMsgConstants.h:104
Definition: cMsgConstants.h:90
Definition: cMsgConstants.h:98
Definition: cMsgConstants.h:140
Definition: cMsgConstants.h:111
Definition: cMsgConstants.h:142
Definition: cMsgConstants.h:141
Definition: cMsgConstants.h:100
Definition: cMsgConstants.h:143
Definition: cMsgConstants.h:110
Definition: cMsgConstants.h:99
Definition: cMsgConstants.h:124
Definition: cMsgConstants.h:145
Definition: cMsgConstants.h:121
Definition: cMsgConstants.h:130
Definition: cMsgConstants.h:94
Definition: cMsgConstants.h:101
Definition: cMsgConstants.h:105
Definition: cMsgConstants.h:112
Definition: cMsgConstants.h:92
Definition: cMsgConstants.h:127
Definition: cMsgConstants.h:97
Definition: cMsgConstants.h:89
Definition: cMsgConstants.h:107
Definition: cMsgConstants.h:146
Definition: cMsgConstants.h:122
Definition: cMsgConstants.h:133
Definition: cMsgConstants.h:129
Definition: cMsgConstants.h:144
Definition: cMsgConstants.h:132
Definition: cMsgConstants.h:136
Definition: cMsgConstants.h:147
Definition: cMsgConstants.h:138