Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
msgstatus.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 MamaMsgStatusH__
23
#define MamaMsgStatusH__
24
25
#if defined(__cplusplus)
26
extern
"C"
{
27
#endif
28
29
#include <
mama/msg.h
>
30
35
typedef
enum
mamaMsgStatus_
36
{
38
MAMA_MSG_STATUS_OK
= 0,
39
41
MAMA_MSG_STATUS_LINE_DOWN
= 1,
42
44
MAMA_MSG_STATUS_NO_SUBSCRIBERS
= 2,
45
47
MAMA_MSG_STATUS_BAD_SYMBOL
= 3,
48
50
MAMA_MSG_STATUS_EXPIRED
= 4,
51
53
MAMA_MSG_STATUS_TIMEOUT
= 5,
54
56
MAMA_MSG_STATUS_MISC
= 6,
57
59
MAMA_MSG_STATUS_STALE
= 7,
60
61
MAMA_MSG_STATUS_TIBRV_STATUS
= 8,
62
64
MAMA_MSG_STATUS_PLATFORM_STATUS
= 8,
65
67
MAMA_MSG_STATUS_NOT_ENTITLED
= 9,
68
70
MAMA_MSG_STATUS_NOT_FOUND
= 10,
71
73
MAMA_MSG_STATUS_POSSIBLY_STALE
= 11,
74
76
MAMA_MSG_STATUS_NOT_PERMISSIONED
= 12,
77
79
MAMA_MSG_STATUS_TOPIC_CHANGE
= 13,
80
82
MAMA_MSG_STATUS_BANDWIDTH_EXCEEDED
= 14,
83
85
MAMA_MSG_STATUS_DUPLICATE
= 15,
86
88
MAMA_MSG_STATUS_UNKNOWN
= 99
89
90
}
mamaMsgStatus
;
91
97
MAMAExpDLL
98
mamaMsgStatus
99
mamaMsgStatus_statusForMsg
(
const
mamaMsg
msg
);
100
106
MAMAExpDLL
107
const
char
*
108
mamaMsgStatus_stringForMsg
(
const
mamaMsg
msg
);
109
115
MAMAExpDLL
116
const
char
*
117
mamaMsgStatus_stringForStatus
(
mamaMsgStatus
type);
118
119
#if defined(__cplusplus)
120
}
121
#endif
122
123
#endif
/* MAMA_MSG_STATUS_H__ */
124
© 2012 Linux Foundation