Browse code

Update module to use hash_func.h from libkcore

This patch does two things:
* It links the module with the shared library libkcore (if not yet done)
which contains all the stuff that was present in kamailio core and
is missing from the sip-router core.
* it fixes the path to hash_func.h to point to the header in the shared
library.

Jan Janak authored on 03/03/2009 17:23:05
Showing 3 changed files
... ...
@@ -12,4 +12,5 @@ DEFS+=-DOPENSER_MOD_INTERFACE
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
14 14
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
15
+SER_LIBS+=$(SERLIBPATH)/kcore/kcore
15 16
 include ../../Makefile.modules
... ...
@@ -47,7 +47,7 @@
47 47
 
48 48
 #include "../../dprint.h"
49 49
 #include "../../ut.h"
50
-#include "../../hash_func.h"
50
+#include "../../lib/kcore/hash_func.h"
51 51
 #include "../../lib/kmi/mi.h"
52 52
 #include "dlg_timer.h"
53 53
 #include "dlg_hash.h"
... ...
@@ -35,7 +35,7 @@
35 35
 
36 36
 
37 37
 #include "../../mem/shm_mem.h"
38
-#include "../../hash_func.h"
38
+#include "../../lib/kcore/hash_func.h"
39 39
 #include "../../dprint.h"
40 40
 #include "../../ut.h"
41 41
 #include "../../route.h"