diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-05-14 12:47:52 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-05-14 12:47:52 +0000 |
commit | 2a9cbd693e2016ecaa1e2e31ca520a9dd48f0ca2 (patch) | |
tree | 097e84d7a4acba3a32abc585467cccfe90c94278 /res/res_stasis.c | |
parent | 54424c2ee2370d3d9dcb61ad438bc5d5ee2cbcdd (diff) |
Move JSON event generators into separate modules
This moves the JSON event generators out of the Stasis-HTTP modules and
into standalone JSON-related counterparts so that Stasis-HTTP and
res_stasis can depend on them without creating dependency cycles. This
also provides a future location for Swagger Model validator functions
once the generators for that code are written.
Review: https://reviewboard.asterisk.org/r/2534/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_stasis.c')
-rw-r--r-- | res/res_stasis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_stasis.c b/res/res_stasis.c index b3ed1731f..4a11680fb 100644 --- a/res/res_stasis.c +++ b/res/res_stasis.c @@ -24,6 +24,7 @@ */ /*** MODULEINFO + <depend>res_stasis_json_events</depend> <support_level>core</support_level> ***/ @@ -41,7 +42,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/strings.h" #include "asterisk/stasis_message_router.h" #include "asterisk/callerid.h" -#include "stasis_http/resource_events.h" +#include "stasis_json/resource_events.h" /*! Time to wait for a frame in the application */ #define MAX_WAIT_MS 200 |