comparison include/freeDiameter/extension.h @ 904:b839a1b1c1da

Make freeDiameter headers more C++ friendly -- thank you Thomas
author Sebastien Decugis <sdecugis@freediameter.net>
date Sat, 15 Dec 2012 10:55:06 +0100
parents 4a9f08d6b6ba
children 5053f1abcf5d
comparison
equal deleted inserted replaced
903:4382d7420e65 904:b839a1b1c1da
34 *********************************************************************************************************/ 34 *********************************************************************************************************/
35 35
36 #ifndef _EXTENSION_H 36 #ifndef _EXTENSION_H
37 #define _EXTENSION_H 37 #define _EXTENSION_H
38 38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42
39 /* Include definition of freeDiameter API */ 43 /* Include definition of freeDiameter API */
40 #include <freeDiameter/freeDiameter-host.h> 44 #include <freeDiameter/freeDiameter-host.h>
41 #include <freeDiameter/libfdcore.h> 45 #include <freeDiameter/libfdcore.h>
42 46
43 /* Macro that define the entry point of the extension */ 47 /* Macro that define the entry point of the extension */
59 } \ 63 } \
60 extension_loaded++; \ 64 extension_loaded++; \
61 return (_function)(conffile); \ 65 return (_function)(conffile); \
62 } 66 }
63 67
68 #ifdef __cplusplus
69 }
70 #endif
71
64 #endif /* _EXTENSION_H */ 72 #endif /* _EXTENSION_H */
"Welcome to our mercurial repository"