Browse code

Update module to use libkmi

This patch updates the module to link with the shared library libkmi
which contains the management interface from kamailio and fixes
paths to headers in that library.

Jan Janak authored on 03/03/2009 14:11:50
Showing 3 changed files
... ...
@@ -14,4 +14,6 @@ LIBS=
14 14
 
15 15
 DEFS+=-DOPENSER_MOD_INTERFACE
16 16
 
17
+SERLIBPATH=../../lib
18
+SER_LIBS+=$(SERLIBPATH)/kmi/kmi
17 19
 include ../../Makefile.modules
... ...
@@ -59,7 +59,7 @@
59 59
 #include "../../parser/parse_uri.h"
60 60
 #include "../../parser/parse_from.h"
61 61
 #include "../../usr_avp.h"
62
-#include "../../mi/mi.h"
62
+#include "../../lib/kmi/mi.h"
63 63
 #include "../../parser/digest/digest.h"
64 64
 #include "../../resolve.h"
65 65
 #include "../tm/tm_load.h"
... ...
@@ -54,7 +54,7 @@
54 54
 #include <sys/types.h>
55 55
 #include <unistd.h>
56 56
 
57
-#include "../../mi/mi.h"
57
+#include "../../lib/kmi/mi.h"
58 58
 #include "../../sr_module.h"
59 59
 #include "../../dprint.h"
60 60
 #include "../../error.h"