Skip to main content

switch_json_api_execute

Function switch_json_api_execute 

Source
pub unsafe extern "C" fn switch_json_api_execute(
    json: *mut cJSON,
    session: *mut switch_core_session_t,
    retval: *mut *mut cJSON,
) -> switch_status_t
Expand description

\brief Execute a registered JSON API command \param json the name of the JSON API command to execute \param arg the optional arguement to the command \param session an optional session \param stream stream for output \return the status returned by the API call