OpenMAMA
middleware.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 MamaMiddlewareH__
23 #define MamaMiddlewareH__
24 
25 #include <mama/config.h>
26 
27 #if defined(__cplusplus)
28 extern "C" {
29 #endif
30 
34 typedef enum mamaMiddleware_
35 {
48 
54 MAMAExpDLL
55 extern mamaMiddleware
56 mamaMiddleware_convertFromString (const char* str);
57 
64 MAMAExpDLL
65 extern const char*
67 
68 
69 #if defined(__cplusplus)
70 }
71 #endif
72 
73 #endif
Definition: middleware.h:39
Definition: middleware.h:46
Definition: middleware.h:36
Definition: middleware.h:38
Definition: middleware.h:41
Definition: middleware.h:37
Definition: middleware.h:42
Definition: middleware.h:45
mamaMiddleware_
Enum to reference the available MAMA middlewares.
Definition: middleware.h:34
enum mamaMiddleware_ mamaMiddleware
Enum to reference the available MAMA middlewares.
MAMAExpDLL const char * mamaMiddleware_convertToString(mamaMiddleware middleware)
Convert a mamaMiddleware value to a string.
MAMAExpDLL mamaMiddleware mamaMiddleware_convertFromString(const char *str)
Convert a string to a mamaMiddleware value.
Definition: middleware.h:43
Definition: middleware.h:40
Definition: middleware.h:44


© 2012 Linux Foundation