#include <string.h>
#include "../dprint.h"
#include "parse_nameaddr.h"
#include "parser_f.h"
#include "../ut.h"

Go to the source code of this file.
Functions | |
| int | parse_nameaddr (str *_s, name_addr_t *_a) |
| void | print_nameaddr (FILE *_o, name_addr_t *_a) |
Definition in file parse_nameaddr.c.
| int parse_nameaddr | ( | str * | _s, | |
| name_addr_t * | _a | |||
| ) |
Parse name-addr part, the given string can be longer, parsing will stop when closing
Definition at line 41 of file parse_nameaddr.c.
References find_not_quoted(), name_addr::len, _str::len, LM_ERR, name_addr::name, _str::s, and name_addr::uri.
Referenced by assemble_msg(), do_parse_rr_body(), and is_rpid_user_e164().
| void print_nameaddr | ( | FILE * | _o, | |
| name_addr_t * | _a | |||
| ) |
Print a name-addr structure, just for debugging
Definition at line 80 of file parse_nameaddr.c.
References name_addr::len, _str::len, name_addr::name, _str::s, name_addr::uri, and ZSW.
Referenced by print_rr().
1.5.6