Asterisk - The Open Source Telephony Project  GIT-master-b7027de
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 100 of file http.h.

Field Documentation

◆ callback

Definition at line 105 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 110 of file http.h.

Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().

◆ entry

struct { ... } entry

◆ has_subtree

unsigned int has_subtree

Definition at line 106 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 116 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 108 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 101 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 112 of file http.h.

Referenced by handle_uri().

◆ prefix

const char* prefix

Definition at line 104 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: