Thu Apr 16 06:48:46 2015

Asterisk developer's documentation


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

Detailed Description

Definition of a URI handler.

Definition at line 91 of file http.h.


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

struct { ... } entry

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

struct ast_http_uri* next [read]

Definition at line 92 of file http.h.

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 Thu Apr 16 06:48:46 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6