diff options
Diffstat (limited to 'rest-api-templates/event_function_decl.mustache')
-rw-r--r-- | rest-api-templates/event_function_decl.mustache | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rest-api-templates/event_function_decl.mustache b/rest-api-templates/event_function_decl.mustache new file mode 100644 index 000000000..fd2c7eb5b --- /dev/null +++ b/rest-api-templates/event_function_decl.mustache @@ -0,0 +1,10 @@ +struct ast_json *stasis_json_event_{{c_id}}_create( +{{#bridge}} + struct ast_bridge_snapshot *bridge_snapshot{{#channel}},{{/channel}}{{^channel}}{{#has_properties}},{{/has_properties}}{{/channel}} +{{/bridge}} +{{#channel}} + struct ast_channel_snapshot *channel_snapshot{{#has_properties}},{{/has_properties}} +{{/channel}} +{{#has_properties}} + struct ast_json *blob +{{/has_properties}} |