#include <string.h>
#include "parse_hname2.h"
#include "keys.h"
#include "case_via.h"
#include "case_from.h"
#include "case_to.h"
#include "case_cseq.h"
#include "case_call.h"
#include "case_cont.h"
#include "case_rout.h"
#include "case_max.h"
#include "case_reco.h"
#include "case_path.h"
#include "case_auth.h"
#include "case_expi.h"
#include "case_prox.h"
#include "case_allo.h"
#include "case_unsu.h"
#include "case_even.h"
#include "case_acce.h"
#include "case_orga.h"
#include "case_prio.h"
#include "case_subj.h"
#include "case_user.h"
#include "case_supp.h"
#include "case_dive.h"
#include "case_remo.h"
#include "case_refe.h"
#include "case_sess.h"
#include "case_min_.h"
#include "case_p_pr.h"
#include "case_p_as.h"
#include "case_priv.h"
#include "case_retr.h"

Go to the source code of this file.
Defines | |
| #define | FIRST_QUATERNIONS |
| #define | LOWER_BYTE(b) ((b) | 0x20) |
| #define | LOWER_DWORD(d) ((d) | 0x20202020) |
| #define | PARSE_COMPACT(id) |
| #define | READ(val) (*(val + 0) + (*(val + 1) << 8) + (*(val + 2) << 16) + (*(val + 3) << 24)) |
Functions | |
| char * | parse_hname2 (char *begin, char *end, struct hdr_field *hdr) |
| static char * | skip_ws (char *p, unsigned int size) |
Definition in file parse_hname2.c.
| #define FIRST_QUATERNIONS |
| #define LOWER_BYTE | ( | b | ) | ((b) | 0x20) |
Definition at line 38 of file parse_hname2.c.
Referenced by parse_hname2(), and parse_supported_body().
| #define LOWER_DWORD | ( | d | ) | ((d) | 0x20202020) |
Definition at line 39 of file parse_hname2.c.
Referenced by parse_hname2(), parse_param_name(), and parse_supported_body().
| #define PARSE_COMPACT | ( | id | ) |
Definition at line 94 of file parse_hname2.c.
| char* parse_hname2 | ( | char * | begin, | |
| char * | end, | |||
| struct hdr_field * | hdr | |||
| ) |
Fast 32-bit header field name parser
Definition at line 147 of file parse_hname2.c.
References FIRST_QUATERNIONS, HDR_CALLID_T, HDR_CONTACT_T, HDR_CONTENTLENGTH_T, HDR_CONTENTTYPE_T, HDR_ERROR_T, HDR_EVENT_T, HDR_FROM_T, HDR_OTHER_T, HDR_SESSION_EXPIRES_T, HDR_SUPPORTED_T, HDR_TO_T, HDR_VIA_T, _str::len, LOWER_BYTE, LOWER_DWORD, hdr_field::name, PARSE_COMPACT, READ, _str::s, skip_ws(), and hdr_field::type.
Referenced by hname_fixup().
| static char* skip_ws | ( | char * | p, | |
| unsigned int | size | |||
| ) | [inline, static] |
Skip all white-chars and return position of the first non-white char
Definition at line 45 of file parse_hname2.c.
Referenced by parse_hname2().
1.5.6