SIP-router core ::Module: SIP-router core.
More...
#include "data_lump.h"
#include "dprint.h"
#include "mem/mem.h"
#include "globals.h"
#include "error.h"
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Functions
-
struct lump * anchor_lump (struct sip_msg *msg, int offset, int len, enum _hdr_types_t type)
- set an anchor
-
struct lump * anchor_lump2 (struct sip_msg *msg, int offset, int len, enum _hdr_types_t type, int *is_ref)
- removes an already existing header
-
struct lump * append_new_lump (struct lump **list, char *new_hdr, int len, enum _hdr_types_t type)
- adds a header to the end
-
void del_nonshm_lump (struct lump **lump_list)
- remove all non-SHMEM lumps from the list
-
struct lump * dup_lump_list (struct lump *l)
- duplicates a lump list shallowly in pkg-mem
-
void free_duped_lump_list (struct lump *l)
- frees a shallowly duplicated lump list
-
struct lump * insert_cond_lump_after (struct lump *after, enum lump_conditions c, enum _hdr_types_t type)
- conditional lumps
-
struct lump * insert_new_lump (struct lump **list, char *new_hdr, int len, enum _hdr_types_t type)
- inserts a header to the beginning
-
struct lump * insert_subst_lump_after (struct lump *after, enum lump_subst subst, enum _hdr_types_t type)
- substitutions (replace with ip address, port etc)
Detailed Description
Definition in file data_lump.c.