Wed Jan 27 20:02:52 2016

Asterisk developer's documentation


ast_http_uri Struct Reference

Definition of a URI handler. More...

#include <http.h>

Public Member Functions

 AST_LIST_ENTRY (ast_http_uri) entry

Data Fields

ast_http_callback callback
void * data
const char * description
unsigned int dmallocd:1
unsigned int has_subtree:1
const char * key
unsigned int mallocd:1
const char * uri

Detailed Description

Definition of a URI handler.

Definition at line 91 of file http.h.


Member Function Documentation

AST_LIST_ENTRY ( ast_http_uri   ) 

Field Documentation

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

Referenced by __ast_http_post_load(), ast_http_uri_unlink_all_with_key(), and http_post_callback().

const char* description

Definition at line 93 of file http.h.

Referenced by __ast_http_post_load(), and handle_show_http().

unsigned int dmallocd

Data structure is malloc'd

Definition at line 100 of file http.h.

Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().

unsigned int has_subtree

Definition at line 96 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 104 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 98 of file http.h.

Referenced by __ast_http_post_load(), and ast_http_uri_unlink_all_with_key().

const char* uri

Definition at line 94 of file http.h.

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


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

Generated on 27 Jan 2016 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1