Functions

parse_rr.c File Reference

Parser :: Route & Record-Route header field parser. More...

#include <string.h>
#include "parse_rr.h"
#include "../mem/mem.h"
#include "../mem/shm_mem.h"
#include "../dprint.h"
#include "../trim.h"
#include "../ut.h"
Include dependency graph for parse_rr.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file parse_rr.c.


Function Documentation

static int do_parse_rr_body ( char *  buf,
int  len,
rr_t **  head 
) [inline, static]

Parse Route or Record-Route body

Definition at line 53 of file parse_rr.c.

References CLASS_ANY, free_rr(), param::len, name_addr::len, rr::len, _str::len, param::name, name_addr::name, rr::nameaddr, rr::next, rr::params, parse_nameaddr(), parse_params(), and _str::s.

Referenced by parse_rr(), and parse_rr_body().

Here is the call graph for this function:

Here is the caller graph for this function:

int get_path_dst_uri ( str _p,
str _dst 
)

Function returns the first uri from Path without any duplication.

Definition at line 461 of file parse_rr.c.

References free_rr(), _str::len, rr::nameaddr, parse_rr_body(), _str::s, and name_addr::uri.

Referenced by lookup().

Here is the call graph for this function:

Here is the caller graph for this function: