16 #ifndef JANUS_TURNREST_H 17 #define JANUS_TURNREST_H 19 #ifdef HAVE_TURNRESTAPI 24 void janus_turnrest_init(
void);
26 void janus_turnrest_deinit(
void);
35 void janus_turnrest_set_backend(
const char *server,
const char *key,
const char *method);
38 const char *janus_turnrest_get_backend(
void);
42 typedef struct janus_turnrest_response {
51 } janus_turnrest_response;
54 typedef struct janus_turnrest_instance {
61 } janus_turnrest_instance;
64 void janus_turnrest_response_destroy(janus_turnrest_response *response);
70 janus_turnrest_response *janus_turnrest_request(
void);