OpenMAMA
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
reservedfields.h
Go to the documentation of this file.
1 /* $Id$
2  *
3  * OpenMAMA: The open middleware agnostic messaging API
4  * Copyright (C) 2011 NYSE Technologies, Inc.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  */
21 
22 #ifndef MamaReservedFieldsH__
23 #define MamaReservedFieldsH__
24 
25 #include "mama/mama.h"
26 #include "mama/config.h"
27 
28 #if defined(__cplusplus)
29 extern "C" {
30 #endif
31 
32 typedef struct MamaReservedField_
33 {
34  char* mName;
35  unsigned short mFid;
37 
38 MAMAExpDLL
39 extern const long WOMBAT_MAX_RESERVED_FID; /* = 100 */
40 
41 MAMAExpDLL
42 extern const MamaReservedField MamaFieldMsgType; /* FID 1 */
43 MAMAExpDLL
44 extern const MamaReservedField MamaFieldMsgStatus; /* FID 2 */
45 MAMAExpDLL
46 extern const MamaReservedField MamaFieldFieldIndex; /* FID 3 */
47 #ifndef IGNORE_DEPRECATED_FIELDS
48 MAMAExpDLL
49 extern const MamaReservedField MamaFieldSubscMsgTypeOld; /* FID 5 */
50 MAMAExpDLL
51 extern const MamaReservedField MamaFieldSubscSubjectOld; /* FID 6 */
52 #endif
53 MAMAExpDLL
54 extern const MamaReservedField MamaFieldMsgNum; /* FID 7 */
55 MAMAExpDLL
56 extern const MamaReservedField MamaFieldMsgTotal; /* FID 8 */
57 MAMAExpDLL
58 extern const MamaReservedField MamaFieldTibrvResult; /* FID 9 */
59 MAMAExpDLL
60 extern const MamaReservedField MamaFieldSeqNum; /* FID 10 */
61 MAMAExpDLL
62 extern const MamaReservedField MamaFieldFeedName; /* FID 11 */
63 MAMAExpDLL
64 extern const MamaReservedField MamaFieldFeedHost; /* FID 12 */
65 MAMAExpDLL
66 extern const MamaReservedField MamaFieldFeedGroup; /* FID 13 */
67 MAMAExpDLL
68 extern const MamaReservedField MamaFieldSyncPattern; /* FID 14 */
69 MAMAExpDLL
70 extern const MamaReservedField MamaFieldItemSeqNum; /* FID 15 */
71 MAMAExpDLL
72 extern const MamaReservedField MamaFieldSendTime; /* FID 16 */
73 MAMAExpDLL
74 extern const MamaReservedField MamaFieldAppDataType; /* FID 17 */
75 MAMAExpDLL
76 extern const MamaReservedField MamaFieldAppMsgType; /* FID 18 */
77 MAMAExpDLL
78 extern const MamaReservedField MamaFieldSenderId; /* FID 20 */
79 MAMAExpDLL
80 extern const MamaReservedField MamaFieldMsgQual; /* FID 21 */
81 MAMAExpDLL
82 extern const MamaReservedField MamaFieldConflateCount; /* FID 22 */
83 MAMAExpDLL
84 extern const MamaReservedField MamaFieldConflateQuoteCount; /* FID 23 */
85 MAMAExpDLL
86 extern const MamaReservedField MamaFieldConflateTradeCount; /* FID 24 */
87 
88 /************************************************************************
89  * Internal MAMA API fields (not passed to applications).
90  ************************************************************************/
91 
92 /* TIB/RV fields */
93 MAMAExpDLL
94 extern const MamaReservedField MamaFieldRvDaemon; /* FID 51 */
95 MAMAExpDLL
96 extern const MamaReservedField MamaFieldRvNetwork; /* FID 52 */
97 MAMAExpDLL
98 extern const MamaReservedField MamaFieldRvService; /* FID 53 */
99 /* For Elvin, we put the "source" as a separate field (it's a
100  * doublecheck for the other field whose *name* acts as efficient
101  * content-based filter). */
102 MAMAExpDLL
103 extern const MamaReservedField MamaFieldElvinSource; /* FID 55 */
104 #ifndef IGNORE_DEPRECATED_FIELDS
105 MAMAExpDLL
106 extern const MamaReservedField MamaFieldElvinSourceOld; /* FID 64 */
107 #endif
108 /* General subscription-related fields. */
109 MAMAExpDLL
110 extern const MamaReservedField MamaFieldSubscriptionType; /* FID 60 */
111 MAMAExpDLL
112 extern const MamaReservedField MamaFieldSubscMsgType; /* FID 61 */
113 MAMAExpDLL
114 extern const MamaReservedField MamaFieldSubscSourceHost; /* FID 63 */
115 MAMAExpDLL
116 extern const MamaReservedField MamaFieldSubscSourceApp; /* FID 64 */
117 MAMAExpDLL
118 extern const MamaReservedField MamaFieldSubscSourceUser; /* FID 65 */
119 MAMAExpDLL
120 extern const MamaReservedField MamaFieldServiceLevel; /* FID 66 */
121 MAMAExpDLL
122 extern const MamaReservedField MamaFieldSubscSourceIp; /* FID 67 */
123 MAMAExpDLL
124 extern const MamaReservedField MamaFieldSubscSourceAppClass; /* FID 68 */
125 MAMAExpDLL
126 extern const MamaReservedField MamaFieldInterfaceVersion; /* FID 69 */
127 MAMAExpDLL
128 extern const MamaReservedField MamaFieldUpdateTopic; /* FID 70 */
129 MAMAExpDLL
130 extern const MamaReservedField MamaFieldSubscSymbol; /* FID 71 */
131 MAMAExpDLL
132 extern const MamaReservedField MamaFieldTportName; /* FID 72 */
133 MAMAExpDLL
134 extern const MamaReservedField MamaFieldSubscNamespace; /* FID 73 */
135 /* This field is used to pass back a list of symbol from the FH
136  * cache and newly announced symbols as a series of recap and
137  * update messages on a subscription of type MAMA_SUBSC_TYPE_SYMBOL_LIST
138  * on the well-known topic SYMBOL_LIST
139  */
140 MAMAExpDLL
141 extern const MamaReservedField MamaFieldSymbolList; /* FID 81 */
142 MAMAExpDLL
143 extern const MamaReservedField MamaFieldTemplate; /* FID 90 */
144 MAMAExpDLL
145 extern const MamaReservedField MamaFieldTemplateLen; /* FID 91 */
146 
147 MAMAExpDLL
149 MAMAExpDLL
151 MAMAExpDLL
153 MAMAExpDLL
155 MAMAExpDLL
157 MAMAExpDLL
158 extern mamaFieldDescriptor MamaReservedFieldSeqNum; /* FID 10 */
159 MAMAExpDLL
161 MAMAExpDLL
163 MAMAExpDLL
165 MAMAExpDLL
167 MAMAExpDLL
169 MAMAExpDLL
171 MAMAExpDLL
173 MAMAExpDLL
175 MAMAExpDLL
177 MAMAExpDLL
179 MAMAExpDLL
181 MAMAExpDLL
183 
184 
185 #if defined(__cplusplus)
186 }
187 #endif
188 
189 #endif /* MamaReservedFieldsH__*/


© 2012 Linux Foundation