Module: sip-router Branch: master Commit: 974722abe961b7833ca06292f8032737fe2a479e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=974722ab...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Aug 28 11:38:14 2009 +0300
sl(s): move typedef of sl_send_reply_f in sl.h
- modules_s/sl/sl.h is included by modules_k/sl/sl.h to export ser-like SL API in kamailio sl module - allow using ser modules dependent of sl with k-sl module
---
modules_s/sl/sl.h | 4 +++- modules_s/sl/sl_funcs.h | 1 - 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules_s/sl/sl.h b/modules_s/sl/sl.h index d5703c6..43fe1e6 100644 --- a/modules_s/sl/sl.h +++ b/modules_s/sl/sl.h @@ -27,7 +27,9 @@ #ifndef _SL_H #define _SL_H
-#include "sl_funcs.h" +#include "../../parser/msg_parser.h" + +typedef int (*sl_send_reply_f)(struct sip_msg* msg, int code, char* reason);
typedef struct sl_api { sl_send_reply_f reply; /* Send stateless reply */ diff --git a/modules_s/sl/sl_funcs.h b/modules_s/sl/sl_funcs.h index 8892382..9a2e899 100644 --- a/modules_s/sl/sl_funcs.h +++ b/modules_s/sl/sl_funcs.h @@ -39,7 +39,6 @@ int sl_startup(); int sl_shutdown();
-typedef int (*sl_send_reply_f)(struct sip_msg* msg, int code, char* reason); int sl_send_reply(struct sip_msg* msg, int code, char* reason);
int sl_filter_ACK(struct sip_msg*, unsigned int flags, void *bar );