19 #ifndef ARI_INTERNAL_H_ 20 #define ARI_INTERNAL_H_ 62 #define ARI_AUTH_REALM_LEN 80 93 #define ARI_PASSWORD_LEN 256 ast_ari_password_format
Password format.
struct ast_ari_conf_user * ast_ari_config_validate_user(const char *username, const char *password)
Validated a user's credentials.
Structure for a WebSocket server.
struct ast_ari_conf_general * general
All configuration options for ARI.
int ast_ari_config_reload(void)
Reload the ARI configuration.
Structure for variables, used for configurations and for channel variables.
#define ARI_PASSWORD_LEN
User's password mx length.
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
void ast_ari_cli_unregister(void)
Unregister CLI commands for ARI.
static struct ast_str * password
Support for Private Asterisk HTTP Servers.
Global configuration options for ARI.
Asterisk JSON abstraction layer.
#define ARI_AUTH_REALM_LEN
#define AST_STRING_FIELD(name)
Declare a string field.
void ast_ari_config_destroy(void)
Destroy the ARI configuration.
describes a server instance
Per-user configuration options.
int ast_ari_cli_register(void)
Register CLI commands for ARI.
struct ast_ari_conf * ast_ari_config_get(void)
Get the current ARI configuration.
ast_http_method
HTTP Request methods known by Asterisk.
int ast_ari_config_init(void)
Initialize the ARI configuration.
static snd_pcm_format_t format
void ari_handle_websocket(struct ast_websocket_server *ws_server, struct ast_tcptls_session_instance *ser, const char *uri, enum ast_http_method method, struct ast_variable *get_params, struct ast_variable *headers)
Wrapper for invoking the websocket code for an incoming connection.
struct ao2_container * users
ast_json_encoding_format
Encoding format type.