Asterisk - The Open Source Telephony Project
18.5.0
|
Definition of a URI handler. More...
#include <http.h>
Data Fields | |
ast_http_callback | callback |
void * | data |
const char * | description |
unsigned int | dmallocd:1 |
struct { | |
struct ast_http_uri * next | |
} | entry |
unsigned int | has_subtree:1 |
const char * | key |
unsigned int | mallocd:1 |
unsigned int | no_decode_uri:1 |
const char * | prefix |
const char * | uri |
ast_http_callback callback |
Definition at line 105 of file http.h.
Referenced by __ast_http_post_load(), and handle_uri().
void* data |
Data to bind to the uri if needed
Definition at line 114 of file http.h.
Referenced by __ast_http_post_load(), ari_handle_websocket(), ast_http_uri_unlink_all_with_key(), ast_websocket_add_protocol2(), ast_websocket_uri_cb(), http_post_callback(), load_module(), unload_module(), websocket_add_protocol_internal(), and websocket_remove_protocol_internal().
const char* description |
Definition at line 102 of file http.h.
Referenced by __ast_http_post_load(), handle_show_http(), Parameter::load(), Api::load(), Property::load(), Model::load(), and ResourceApi::load().
unsigned int dmallocd |
Data structure is malloc'd
Definition at line 110 of file http.h.
Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().
struct { ... } entry |
unsigned int has_subtree |
Definition at line 106 of file http.h.
Referenced by __ast_http_post_load(), handle_show_http(), and handle_uri().
const char* key |
Key to be used for unlinking if multiple URIs registered
Definition at line 116 of file http.h.
Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().
unsigned int mallocd |
Structure is malloc'd
Definition at line 108 of file http.h.
Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().
struct ast_http_uri* next |
unsigned int no_decode_uri |
Don't automatically decode URI before passing it to the callback
Definition at line 112 of file http.h.
Referenced by handle_uri().
const char* prefix |
Definition at line 104 of file http.h.
Referenced by ast_ari_callback(), and ast_http_uri_link().
const char* uri |
Definition at line 103 of file http.h.
Referenced by __ast_http_post_load(), ast_http_uri_link(), handle_show_http(), handle_uri(), and prometheus_config_post_apply().