Browse code

Update module to use statistics from libkcore

This patch does two things:
* It links them modules with shared library libkcore which contains
all the statistics related stuff that was present in kamailio core and
is missing in the sip-router core.
* it fixes the path to statistics.h to point to the header in the shared
library.

Jan Janak authored on 10/03/2009 23:37:41
Showing 3 changed files
... ...
@@ -9,4 +9,6 @@ LIBS=
9 9
 
10 10
 DEFS+=-DOPENSER_MOD_INTERFACE
11 11
 
12
+SERLIBPATH=../../lib
13
+SER_LIBS+=$(SERLIBPATH)/kcore/kcore
12 14
 include ../../Makefile.modules
... ...
@@ -35,7 +35,7 @@
35 35
 #include "../../dprint.h"
36 36
 #include "../../ut.h"
37 37
 #include "../../mod_fix.h"
38
-#include "../../statistics.h"
38
+#include "../../lib/kcore/statistics.h"
39 39
 #include "../../mem/mem.h"
40 40
 #include "stats_funcs.h"
41 41
 
... ...
@@ -30,7 +30,7 @@
30 30
 #include <string.h>
31 31
 
32 32
 #include "../../dprint.h"
33
-#include "../../statistics.h"
33
+#include "../../lib/kcore/statistics.h"
34 34
 #include "../../mem/mem.h"
35 35
 #include "stats_funcs.h"
36 36