Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

http_parser.h File Reference

Detailed Description

Typedefs and prototypes used by HTTP parser.

Defined when <sofia-sip/http_parser.h> has been included.

Pekka Pessi <Pekka.Pessi@nokia.com>
Created: Tue Jun 13 02:58:26 2000 ppessi

Definition in file http_parser.h.

#include <sofia-sip/su_alloc.h>
#include <sofia-sip/msg.h>
#include <sofia-sip/msg_parser.h>
#include <sofia-sip/http.h>
#include <sofia-sip/http_header.h>

Go to the source code of this file.


#define http_default_dup_one   msg_default_dup_one
#define http_default_dup_xtra   msg_default_dup_xtra
#define HTTP_HCLASS_TEST(x)   ((x) && (x)->hc_tag == HTTP_PROTOCOL_TAG)
#define HTTP_HDR_TEST(x)   ((x)->sh_class && HTTP_HCLASS_TEST((x)->sh_class))
#define HTTP_HEADER_CLASS(c, l, params, kind, dup)   MSG_HEADER_CLASS(http_, c, l, "", params, kind, http_ ## dup, http_no)
#define HTTP_HEADER_CLASS_AUTH(c, l, kind)   MSG_HEADER_CLASS(http_, c, l, "", au_params, kind, msg_auth, http_no)
#define HTTP_HEADER_CLASS_G(c, l, kind)   MSG_HEADER_CLASS(http_, c, l, "", g_common, kind, msg_generic, http_no)
#define HTTP_HEADER_CLASS_LIST(c, l, kind)   MSG_HEADER_CLASS(http_, c, l, "", k_items, kind, msg_list, http_no)
#define http_no_update   NULL
#define http_numeric_dup_one   msg_default_dup_one
#define http_numeric_dup_xtra   msg_default_dup_xtra


SOFIAPUBFUN issize_t http_extract_body (msg_t *, http_t *, char b[], isize_t bsiz, int eos)
SOFIAPUBFUN http_method_t http_method_d (char **ss, char const **nname)
SOFIAPUBFUN char const * http_method_name (http_method_t method, char const *name)
SOFIAPUBFUN int http_version_d (char **ss, char const **ver)
SOFIAPUBFUN void http_version_dup (char **pp, char const **dd, char const *s)
SOFIAPUBFUN isize_t http_version_xtra (char const *version)

Generated by  Doxygen 1.6.0   Back to index