th_msg.h

Go to the documentation of this file.
00001 
00028 #ifndef _TH_MSG_H_
00029 #define _TH_MSG_H_
00030 
00031 #include "../../parser/msg_parser.h"
00032 
00033 int th_mask_via(sip_msg_t *msg);
00034 int th_mask_callid(sip_msg_t *msg);
00035 int th_mask_contact(sip_msg_t *msg);
00036 int th_mask_record_route(sip_msg_t *msg);
00037 int th_unmask_via(sip_msg_t *msg, str *cookie);
00038 int th_unmask_callid(sip_msg_t *msg);
00039 int th_flip_record_route(sip_msg_t *msg, int mode);
00040 int th_unmask_ruri(sip_msg_t *msg);
00041 int th_unmask_route(sip_msg_t *msg);
00042 int th_unmask_refer_to(sip_msg_t *msg);
00043 int th_update_hdr_replaces(sip_msg_t *msg);
00044 char* th_msg_update(sip_msg_t *msg, unsigned int *olen);
00045 int th_add_via_cookie(sip_msg_t *msg, struct via_body *via);
00046 int th_add_hdr_cookie(sip_msg_t *msg);
00047 hdr_field_t *th_get_hdr_cookie(sip_msg_t *msg);
00048 int th_add_cookie(sip_msg_t *msg);
00049 int th_route_direction(sip_msg_t *msg);
00050 char* th_get_cookie(sip_msg_t *msg, int *clen);
00051 int th_del_cookie(sip_msg_t *msg);
00052 int th_skip_msg(sip_msg_t *msg);
00053 
00054 #endif