dset.h
caf80ae6
 /*
  * $Id$
  */
 
 #ifndef _T_FORKS_H
 #define _T_FORKS_H
 
 #include "config.h"
 
2a78db5c
 #define CONTACT "Contact: "
 #define CONTACT_LEN 9
 #define CONTACT_DELIM ", "
 #define CONTACT_DELIM_LEN 2
 
 
caf80ae6
 struct branch
 {
 	char uri[MAX_URI_SIZE];
 	unsigned int len;
 };
 
 struct sip_msg;
 
 /*
 typedef int (*tfork_f)( struct sip_msg *msg, char *uri, int uri_len );
 */
 
 /* add a new branch to current transaction */
 int append_branch( struct sip_msg *msg, char *uri, int uri_len );
 /* iterate through list of new transaction branches */
 void init_branch_iterator();
 char *next_branch( int *len );
 void clear_branches();
 
96bff2ed
 char *print_dset( struct sip_msg *msg, int *len );
caf80ae6
 #endif