Fri Jul 24 00:42:04 2009

Asterisk developer's documentation


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 {
   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

ast_http_callback callback

Definition at line 82 of file http.h.

Referenced by handle_uri().

void* data

Data to bind to the uri if needed

Definition at line 95 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key().

const char* description

Definition at line 80 of file http.h.

Referenced by 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_uri_unlink_all_with_key().

struct { ... } entry

Referenced by ast_http_uri_link(), ast_http_uri_unlink(), and ast_http_uri_unlink_all_with_key().

unsigned int has_subtree

Definition at line 83 of file http.h.

Referenced by 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_uri_unlink_all_with_key().

unsigned int mallocd

Structure is malloc'd

Definition at line 91 of file http.h.

Referenced by ast_http_uri_unlink_all_with_key().

struct ast_http_uri* next

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_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_uri_link(), and handle_uri().

const char* uri

Definition at line 81 of file http.h.

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


The documentation for this struct was generated from the following file:
Generated on Fri Jul 24 00:42:04 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7