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 08/03/2009 22:36:47
Showing 5 changed files
... ...
@@ -9,4 +9,6 @@ LIBS=
9 9
 
10 10
 DEFS+=-DOPENSER_MOD_INTERFACE
11 11
 
12
+SERLIBPATH=../../lib
13
+SER_LIBS+=$(SERLIBPATH)/kmi/kmi
12 14
 include ../../Makefile.modules
... ...
@@ -52,7 +52,7 @@
52 52
 #include "../../script_cb.h"
53 53
 #include "../../faked_msg.h"
54 54
 #include "../../mem/mem.h"
55
-#include "../../mi/mi.h"
55
+#include "../../lib/kmi/mi.h"
56 56
 #include "../tm/tm_load.h"
57 57
 #include "../rr/api.h"
58 58
 #include "dlg_hash.h"
... ...
@@ -48,7 +48,7 @@
48 48
 #include "../../dprint.h"
49 49
 #include "../../ut.h"
50 50
 #include "../../hash_func.h"
51
-#include "../../mi/mi.h"
51
+#include "../../lib/kmi/mi.h"
52 52
 #include "dlg_timer.h"
53 53
 #include "dlg_hash.h"
54 54
 #include "dlg_profile.h"
... ...
@@ -39,7 +39,7 @@
39 39
 #define _DIALOG_DLG_HASH_H_
40 40
 
41 41
 #include "../../locking.h"
42
-#include "../../mi/mi.h"
42
+#include "../../lib/kmi/mi.h"
43 43
 #include "dlg_timer.h"
44 44
 #include "dlg_cb.h"
45 45
 
... ...
@@ -36,7 +36,7 @@
36 36
 #include "../../socket_info.h"
37 37
 #include "../tm/dlg.h"
38 38
 #include "../tm/tm_load.h"
39
-#include "../../mi/tree.h"
39
+#include "../../lib/kmi/tree.h"
40 40
 #include "dlg_timer.h"
41 41
 #include "dlg_hash.h"
42 42
 #include "dlg_req_within.h"