mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Make the event header file work under C++.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -53,6 +53,10 @@
|
|||||||
#ifndef AST_EVENT_H
|
#ifndef AST_EVENT_H
|
||||||
#define AST_EVENT_H
|
#define AST_EVENT_H
|
||||||
|
|
||||||
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "asterisk/event_defs.h"
|
#include "asterisk/event_defs.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@@ -470,4 +474,8 @@ const char *ast_event_iterator_get_ie_str(struct ast_event_iterator *iterator);
|
|||||||
*/
|
*/
|
||||||
void *ast_event_iterator_get_ie_raw(struct ast_event_iterator *iterator);
|
void *ast_event_iterator_get_ie_raw(struct ast_event_iterator *iterator);
|
||||||
|
|
||||||
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* AST_EVENT_H */
|
#endif /* AST_EVENT_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user