Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00044 #ifndef data_lump_h
00045 #define data_lump_h
00046
00047 #include "lump_struct.h"
00048 #include "parser/msg_parser.h"
00049 #include "parser/hf.h"
00050
00051
00052
00053 struct lump* add_new_lump(struct lump** list, char* new_hdr,
00054 int len, enum _hdr_types_t type);
00055
00057 struct lump* append_new_lump(struct lump** list, char* new_hdr,
00058 int len, enum _hdr_types_t type);
00060 struct lump* insert_new_lump(struct lump** list, char* new_hdr,
00061 int len, enum _hdr_types_t type);
00062 struct lump* insert_new_lump_after(struct lump* after,
00063 char* new_hdr, int len, enum _hdr_types_t type);
00064 struct lump* insert_new_lump_before(struct lump* before, char* new_hdr,
00065 int len,enum _hdr_types_t type);
00067 struct lump* insert_subst_lump_after(struct lump* after, enum lump_subst subst,
00068 enum _hdr_types_t type);
00069 struct lump* insert_subst_lump_before(struct lump* before,enum lump_subst subst,
00070 enum _hdr_types_t type);
00071
00073 struct lump* insert_cond_lump_after(struct lump* after, enum lump_conditions c,
00074 enum _hdr_types_t type);
00075 struct lump* insert_cond_lump_before(struct lump* after, enum lump_conditions c,
00076 enum _hdr_types_t type);
00077
00079
00080
00081 struct lump* anchor_lump2(struct sip_msg* msg, int offset, int len, enum _hdr_types_t type,
00082 int *is_ref);
00083 struct lump* del_lump(struct sip_msg* msg, int offset, int len, enum _hdr_types_t type);
00085 struct lump* anchor_lump(struct sip_msg* msg, int offset, int len, enum _hdr_types_t type);
00086
00087
00088
00090 struct lump* dup_lump_list( struct lump *l );
00092 void free_duped_lump_list(struct lump* l);
00093
00094
00096 void del_nonshm_lump( struct lump** lump_list );
00097
00098 #endif