
Go to the source code of this file.
Defines | |
| #define | STAR_F 0x01 |
Functions | |
| int | dump_contact_body_test (char *hdr, int hdrlen, unsigned char *payload, int paylen, FILE *fd, char segregationLevel, char *prefix) |
| int | dump_contact_test (char *hdr, int hdrlen, unsigned char *payload, int paylen, FILE *fd, char segregationLevel, char *prefix) |
| int | encode_contact (char *hdr, int hdrlen, contact_t *mycontact, unsigned char *where) |
| int | encode_contact_body (char *hdr, int hdrlen, contact_body_t *contact_parsed, unsigned char *where) |
| int | print_encoded_contact (FILE *fd, char *hdr, int hdrlen, unsigned char *payload, int paylen, char *prefix) |
| int | print_encoded_contact_body (FILE *fd, char *hdr, int hdrlen, unsigned char *payload, int paylen, char *prefix) |
| #define STAR_F 0x01 |
Definition at line 23 of file encode_contact.h.
Referenced by dump_contact_body_test(), encode_contact_body(), and print_encoded_contact_body().
| int dump_contact_body_test | ( | char * | hdr, | |
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| FILE * | fd, | |||
| char | segregationLevel, | |||
| char * | prefix | |||
| ) |
Definition at line 233 of file encode_contact.c.
References dump_contact_test(), dump_standard_hdr_test(), JUNIT, LM_ERR, ONLY_URIS, SEGREGATE, and STAR_F.
Referenced by dump_headers_test().
| int dump_contact_test | ( | char * | hdr, | |
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| FILE * | fd, | |||
| char | segregationLevel, | |||
| char * | prefix | |||
| ) |
Definition at line 260 of file encode_contact.c.
References dump_standard_hdr_test(), HAS_EXPIRES_F, HAS_METHOD_F, HAS_NAME_F, HAS_Q_F, HAS_RECEIVED_F, JUNIT, ONLY_URIS, print_uri_junit_tests(), and SEGREGATE.
Referenced by dump_contact_body_test().
| int encode_contact | ( | char * | hdr, | |
| int | hdrlen, | |||
| contact_t * | mycontact, | |||
| unsigned char * | where | |||
| ) |
Definition at line 110 of file encode_contact.c.
References encode_parameters(), encode_uri2(), contact::expires, HAS_EXPIRES_F, HAS_METHOD_F, HAS_NAME_F, HAS_Q_F, HAS_RECEIVED_F, param::len, _str::len, LM_ERR, contact::methods, param::name, contact::name, contact::params, parse_uri(), contact::q, contact::received, _str::s, and contact::uri.
Referenced by encode_contact_body().
| int encode_contact_body | ( | char * | hdr, | |
| int | hdrlen, | |||
| contact_body_t * | contact_parsed, | |||
| unsigned char * | where | |||
| ) |
Definition at line 67 of file encode_contact.c.
References contact_body::contacts, encode_contact(), LM_ERR, contact::next, contact_body::star, and STAR_F.
Referenced by encode_header().
| int print_encoded_contact | ( | FILE * | fd, | |
| char * | hdr, | |||
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| char * | prefix | |||
| ) |
Definition at line 188 of file encode_contact.c.
References HAS_EXPIRES_F, HAS_METHOD_F, HAS_NAME_F, HAS_Q_F, HAS_RECEIVED_F, print_encoded_parameters(), and print_encoded_uri().
Referenced by print_encoded_contact_body().
| int print_encoded_contact_body | ( | FILE * | fd, | |
| char * | hdr, | |||
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| char * | prefix | |||
| ) |
Definition at line 162 of file encode_contact.c.
References LM_ERR, print_encoded_contact(), and STAR_F.
Referenced by print_encoded_header().
1.5.6