Make the event header file work under C++.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 18 years ago
parent 876ebb3ec7
commit 5a8feb826d

@ -53,6 +53,10 @@
#ifndef AST_EVENT_H
#define AST_EVENT_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#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);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif /* AST_EVENT_H */

Loading…
Cancel
Save