Thu Oct 11 06:50:23 2012

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
unsigned int static_content:1
unsigned int supports_get:1
unsigned int supports_post:1
const char * uri

Detailed Description

Definition of a URI handler.

Definition at line 78 of file http.h.


Field Documentation

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

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

unsigned int dmallocd

Data structure is malloc'd

Definition at line 93 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 83 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 97 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 91 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 79 of file http.h.

unsigned int static_content

This handler serves static content

Definition at line 85 of file http.h.

Referenced by handle_uri().

unsigned int supports_get

This handler accepts GET requests

Definition at line 87 of file http.h.

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

unsigned int supports_post

This handler accepts POST requests

Definition at line 89 of file http.h.

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

const char* uri

Definition at line 81 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 Oct 11 06:50:23 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6