RTS API Documentation  1.10.11
Data Fields
switch_json_api_interface Struct Reference

A module interface to implement a json api function. More...

#include <switch_module_interfaces.h>

+ Collaboration diagram for switch_json_api_interface:

Data Fields

const char * interface_name
 
const char * desc
 
switch_json_api_function_t function
 
const char * syntax
 
switch_thread_rwlock_trwlock
 
int refs
 
switch_mutex_treflock
 
switch_loadable_module_interface_tparent
 
struct switch_json_api_interfacenext
 

Detailed Description

A module interface to implement a json api function.

Definition at line 848 of file switch_module_interfaces.h.

Field Documentation

◆ desc

const char* switch_json_api_interface::desc

a description of the api function

Definition at line 852 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().

◆ function

switch_json_api_function_t switch_json_api_interface::function

function the api call uses

Definition at line 854 of file switch_module_interfaces.h.

Referenced by switch_json_api_execute().

◆ interface_name

const char* switch_json_api_interface::interface_name

the name of the interface

Definition at line 850 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().

◆ next

struct switch_json_api_interface* switch_json_api_interface::next

◆ parent

switch_loadable_module_interface_t* switch_json_api_interface::parent

Definition at line 860 of file switch_module_interfaces.h.

◆ reflock

switch_mutex_t* switch_json_api_interface::reflock

Definition at line 859 of file switch_module_interfaces.h.

◆ refs

int switch_json_api_interface::refs

Definition at line 858 of file switch_module_interfaces.h.

◆ rwlock

switch_thread_rwlock_t* switch_json_api_interface::rwlock

Definition at line 857 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_unprocess().

◆ syntax

const char* switch_json_api_interface::syntax

an example of the api syntax

Definition at line 856 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().


The documentation for this struct was generated from the following file: