Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_http_uri Struct Reference

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
 

Detailed Description

Definition of a URI handler.

Definition at line 102 of file http.h.

Field Documentation

void* data

Data to bind to the uri if needed

Definition at line 116 of file http.h.

Referenced by ari_handle_websocket(), and ast_http_uri_unlink_all_with_key().

unsigned int dmallocd

Data structure is malloc'd

Definition at line 112 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key().

const char* key

Key to be used for unlinking if multiple URIs registered

Definition at line 118 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key().

unsigned int mallocd

Structure is malloc'd

Definition at line 110 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key().

unsigned int no_decode_uri

Don't automatically decode URI before passing it to the callback

Definition at line 114 of file http.h.


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