Browse code

Update module to use libtrie

This patch does two things:
* It links them modules with shared library libtrie
* it fixes the path to dtrie.h to point to the header in the shared
library.

Jan Janak authored on 03/03/2009 14:21:02
Showing 4 changed files
... ...
@@ -9,4 +9,5 @@ DEFS+=-DOPENSER_MOD_INTERFACE
9 9
 
10 10
 SERLIBPATH=../../lib
11 11
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
12
+SER_LIBS+=$(SERLIBPATH)/trie/trie
12 13
 include ../../Makefile.modules
... ...
@@ -33,7 +33,7 @@
33 33
 #include "../../db/db.h"
34 34
 #include "../../mem/mem.h"
35 35
 #include "../../ut.h"
36
-#include "../../trie/dtrie.h"
36
+#include "../../lib/trie/dtrie.h"
37 37
 
38 38
 
39 39
 /**
... ...
@@ -31,7 +31,7 @@
31 31
 #define _DB_H_
32 32
 
33 33
 #include "../../sr_module.h"
34
-#include "../../trie/dtrie.h"
34
+#include "../../lib/trie/dtrie.h"
35 35
 
36 36
 #define MARK_WHITELIST 1
37 37
 #define MARK_BLACKLIST 2
... ...
@@ -51,7 +51,7 @@
51 51
 #include "../../ut.h"
52 52
 #include "../../mod_fix.h"
53 53
 
54
-#include "../../trie/dtrie.h"
54
+#include "../../lib/trie/dtrie.h"
55 55
 #include "db.h"
56 56
 #include "db_userblacklist.h"
57 57