Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_http_uri Struct Reference

Definition of a URI handler. More...

#include <http.h>

Collaboration diagram for ast_http_uri:
Collaboration graph
[legend]

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

◆ callback

Definition at line 107 of file http.h.

Referenced by __ast_http_post_load(), and handle_uri().

◆ data

void* data

◆ description

const char* description

◆ dmallocd

unsigned int dmallocd

Data structure is malloc'd

Definition at line 112 of file http.h.

Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().

◆ 

struct { ... } entry

◆ has_subtree

unsigned int has_subtree

Definition at line 108 of file http.h.

Referenced by __ast_http_post_load(), handle_show_http(), and handle_uri().

◆ 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_post_load(), and ast_http_uri_unlink_all_with_key().

◆ mallocd

unsigned int mallocd

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().

◆ next

struct ast_http_uri* next

Definition at line 103 of file http.h.

◆ no_decode_uri

unsigned int no_decode_uri

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

Definition at line 114 of file http.h.

Referenced by handle_uri().

◆ prefix

const char* prefix

Definition at line 106 of file http.h.

Referenced by ast_ari_callback(), and ast_http_uri_link().

◆ uri

const char* uri

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