route.h
512dcd98
 /*
  * $Id$
  */
 
 #ifndef route_h
 #define route_h
 
 #include <sys/types.h>
 #include <regex.h>
 #include <netdb.h>
 
a15c363f
 #include "config.h"
 #include "error.h"
 #include "route_struct.h"
 #include "msg_parser.h"
 
 /*#include "cfg_parser.h" */
 
512dcd98
 
f20a56a2
 /* main "script table" */
 extern struct action* rlist[RT_NO];
512dcd98
 
a15c363f
 
f20a56a2
 void push(struct action* a, struct action** head);
 int add_actions(struct action* a, struct action** head);
 void print_rl();
 int fix_rls();
512dcd98
 
f20a56a2
 int eval_expr(struct expr* e, struct sip_msg* msg);
512dcd98
 
 
 
 
 
 
 #endif