16#ifndef JANUS_TURNREST_H
17#define JANUS_TURNREST_H
19#ifdef HAVE_TURNRESTAPI
24void janus_turnrest_init(
void);
26void janus_turnrest_deinit(
void);
36void janus_turnrest_set_backend(
const char *server,
const char *key,
const char *method,
const uint timeout);
39const char *janus_turnrest_get_backend(
void);
43typedef struct janus_turnrest_response {
52} janus_turnrest_response;
55typedef struct janus_turnrest_instance {
62} janus_turnrest_instance;
65void janus_turnrest_response_destroy(janus_turnrest_response *response);
72janus_turnrest_response *janus_turnrest_request(
const char *user);