diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-29 21:55:15 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-29 21:55:15 +0000 |
commit | df06de2ec3904d10816ac8dd237950fa67ce6923 (patch) | |
tree | e1e1f7c01d39cb22a0bb37d699fcb3683bc39c00 /include | |
parent | fe1536a0895f532dc83921556ce8af83296ec442 (diff) |
Make the event header file work under C++.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81364 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/event.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/event.h b/include/asterisk/event.h index 3133234bc..86d3358fc 100644 --- a/include/asterisk/event.h +++ b/include/asterisk/event.h @@ -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 */ |