Functions | |
janus_plugin_result * | janus_plugin_result_new (janus_plugin_result_type type, const char *text, json_t *content) |
Helper to quickly create a janus_plugin_result instance. More... | |
void | janus_plugin_result_destroy (janus_plugin_result *result) |
Helper to quickly destroy a janus_plugin_result instance. More... | |
void janus_plugin_result_destroy | ( | janus_plugin_result * | result | ) |
Helper to quickly destroy a janus_plugin_result instance.
[in] | result | The janus_plugin_result instance to destroy |
janus_plugin_result* janus_plugin_result_new | ( | janus_plugin_result_type | type, |
const char * | text, | ||
json_t * | content | ||
) |
Helper to quickly create a janus_plugin_result instance.
[in] | type | The type of result |
[in] | text | String to add to the result (for JANUS_PLUGIN_OK_WAIT or JANUS_PLUGIN_ERROR), if any |
[in] | content | The json_t object with the content of the result, if any |