#include "../../parser/hf.h"#include "../../str.h"


Go to the source code of this file.
Functions | |
| int | dump_headers_test (char *msg, int msglen, unsigned char *payload, int len, char type, FILE *fd, char segregationLevel) |
| int | dump_standard_hdr_test (char *hdr, int hdrlen, unsigned char *payload, int paylen, FILE *fd) |
| int | encode_header (struct sip_msg *msg, struct hdr_field *hdr, unsigned char *payload, int paylen) |
| int | print_encoded_header (FILE *fd, char *msg, int len, unsigned char *payload, int paylen, char type, char *prefix) |
| int dump_headers_test | ( | char * | msg, | |
| int | msglen, | |||
| unsigned char * | payload, | |||
| int | len, | |||
| char | type, | |||
| FILE * | fd, | |||
| char | segregationLevel | |||
| ) |
Definition at line 440 of file encode_header.c.
References dump_contact_body_test(), dump_route_body_test(), dump_standard_hdr_test(), dump_to_body_test(), dump_via_body_test(), HEADER_LEN_IDX, and HEADER_PAYLOAD_IDX.
Referenced by dump_msg_test(), and print_msg_junit_test().
| int dump_standard_hdr_test | ( | char * | hdr, | |
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| FILE * | fd | |||
| ) |
Definition at line 507 of file encode_header.c.
References theSignal.
Referenced by dump_contact_body_test(), dump_contact_test(), dump_digest_test(), dump_headers_test(), dump_route_body_test(), dump_route_test(), dump_to_body_test(), dump_via_body_test(), and print_uri_junit_tests().
| int encode_header | ( | struct sip_msg * | msg, | |
| struct hdr_field * | hdr, | |||
| unsigned char * | payload, | |||
| int | paylen | |||
| ) |
Definition at line 91 of file encode_header.c.
References hdr_field::body, sip_msg::buf, encode_accept(), encode_allow(), encode_contact_body(), encode_content_type(), encode_contentlength(), encode_cseq(), encode_digest(), encode_expires(), encode_route_body(), encode_to_body(), encode_via_body(), to_body::error, cseq_body::error, free_via_list(), HDR_ACCEPT_T, HDR_ALLOW_T, HDR_AUTHORIZATION_T, HDR_CONTACT_T, HDR_CONTENTLENGTH_T, HDR_CONTENTTYPE_T, HDR_CSEQ_T, HDR_EXPIRES_T, HDR_FROM_T, HDR_PROXYAUTH_T, HDR_RECORDROUTE_T, HDR_REFER_TO_T, HDR_ROUTE_T, HDR_RPID_T, HDR_TO_T, HDR_VIA_T, HEADER_LEN_IDX, HEADER_NAME_LEN_IDX, hdr_field::len, _str::len, sip_msg::len, len, LM_ERR, hdr_field::name, parse_accept_hdr(), parse_contact(), parse_content_length(), parse_content_type_hdr(), parse_credentials(), parse_cseq(), PARSE_ERROR, parse_expires(), parse_methods(), parse_rr(), parse_to(), parse_via(), hdr_field::parsed, pkg_free, pkg_malloc, _str::s, and hdr_field::type.
Referenced by encode_msg().
| int print_encoded_header | ( | FILE * | fd, | |
| char * | msg, | |||
| int | len, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| char | type, | |||
| char * | prefix | |||
| ) |
Definition at line 330 of file encode_header.c.
References HDR_ACCEPT_T, HDR_ALLOW_T, HDR_AUTHORIZATION_T, HDR_CONTACT_T, HDR_CONTENTLENGTH_T, HDR_CONTENTTYPE_T, HDR_CSEQ_T, HDR_EXPIRES_T, HDR_FROM_T, HDR_PROXYAUTH_T, HDR_RECORDROUTE_T, HDR_REFER_TO_T, HDR_ROUTE_T, HDR_RPID_T, HDR_TO_T, HDR_VIA2_T, HDR_VIA_T, HEADER_LEN_IDX, HEADER_NAME_LEN_IDX, HEADER_PAYLOAD_IDX, print_encoded_accept(), print_encoded_allow(), print_encoded_contact_body(), print_encoded_content_type(), print_encoded_contentlength(), print_encoded_cseq(), print_encoded_digest(), print_encoded_expires(), print_encoded_route_body(), print_encoded_to_body(), and print_encoded_via_body().
Referenced by print_encoded_msg().
1.5.6