Sun Oct 16 2011 08:43:12

Asterisk developer's documentation


ast_http_uri Struct Reference

Definition of a URI handler. More...

#include <http.h>

Collaboration diagram for ast_http_uri:

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
const char * uri

Detailed Description

Definition of a URI handler.


Field Documentation

Definition at line 95 of file http.h.

Referenced by handle_uri(), and __ast_http_post_load().

void* data

Data to bind to the uri if needed

Definition at line 102 of file http.h.

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

const char* description

Definition at line 93 of file http.h.

Referenced by handle_show_http(), and __ast_http_post_load().

unsigned int dmallocd

Data structure is malloc'd

Definition at line 100 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key(), and __ast_http_post_load().

struct { ... } entry
unsigned int has_subtree

Definition at line 96 of file http.h.

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

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_uri_unlink_all_with_key(), and __ast_http_post_load().

unsigned int mallocd

Structure is malloc'd

Definition at line 98 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key(), and __ast_http_post_load().

struct ast_http_uri* next

Definition at line 92 of file http.h.

const char* uri

Definition at line 94 of file http.h.

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


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