Browse code

Update module to use cmpapi files from libkcore

This patch does two things:
* It links them modules with shared library libkcore which contains
files cmpapi.[ch] originally present in kamailio core and missing in
the sip-router core.
* it fixes the path to cmpapi.h to point to the header in the shared
library.

Jan Janak authored on 03/03/2009 15:34:18
Showing 2 changed files
... ...
@@ -19,4 +19,5 @@ DEFS+=-DOPENSER_MOD_INTERFACE
19 19
 SERLIBPATH=../../lib
20 20
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
21 21
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
22
+SER_LIBS+=$(SERLIBPATH)/kcore/kcore
22 23
 include ../../Makefile.modules
... ...
@@ -43,7 +43,7 @@
43 43
 #include "../../parser/parse_content.h" 
44 44
 #include "../../lock_ops.h"
45 45
 #include "../../hash_func.h"
46
-#include "../../cmpapi.h"
46
+#include "../../lib/kcore/cmpapi.h"
47 47
 #include "../../lib/srdb1/db.h"
48 48
 #include "presence.h"
49 49
 #include "notify.h"