- 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
@@ -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 */
@@ -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 );