#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <stdlib.h>#include <stdio.h>#include <syslog.h>#include <string.h>#include "../../parser/msg_parser.h"#include "../../parser/parse_via.h"#include "../../parser/parse_uri.h"#include "../../parser/parse_from.h"#include "../../mem/mem.h"#include "../../dprint.h"#include "encode_header.h"#include "encode_msg.h"#include "utils.h"

Go to the source code of this file.
Defines | |
| #define | _GNU_SOURCE |
| #define | MAX_ERROR 32 |
Functions | |
| int | buffered_printer (FILE *infd) |
| int | coded_buffered_printer (FILE *infd) |
| static int | memstr (char *haystack, int hlen, char *needle, int nlen) |
| int | print_msg_info (FILE *fd, struct sip_msg *msg) |
| #define _GNU_SOURCE |
Definition at line 44 of file seas/utils.c.
| #define MAX_ERROR 32 |
Definition at line 59 of file seas/utils.c.
| int buffered_printer | ( | FILE * | infd | ) |
Definition at line 63 of file seas/utils.c.
References sip_msg::buf, free_sip_msg(), sip_msg::len, memstr(), parse_msg(), pkg_free, pkg_malloc, and print_msg_info().
| int coded_buffered_printer | ( | FILE * | infd | ) |
| static int memstr | ( | char * | haystack, | |
| int | hlen, | |||
| char * | needle, | |||
| int | nlen | |||
| ) | [inline, static] |
| int print_msg_info | ( | FILE * | fd, | |
| struct sip_msg * | msg | |||
| ) |
Definition at line 149 of file seas/utils.c.
References encode_msg(), HDR_EOH_F, MAX_ENCODED_MSG, MAX_MESSAGE_LEN, parse_headers(), pkg_free, pkg_malloc, prefix, and print_encoded_msg().
Referenced by buffered_printer().
1.5.6