Browse code

all: OPENSER_MOD_INTERFACE replaced with KAMAILIO_MOD_INTERFACE

- OPENSER_MOD_INTERFACE still works if used in module Makefile

Daniel-Constantin Mierla authored on 18/10/2012 13:46:13
Showing 128 changed files
... ...
@@ -77,7 +77,7 @@ DEFS += -DMOD_NAME='"$(MOD_NAME)"'
77 77
 
78 78
 
79 79
 ifeq (,$(findstring -DSER_MOD_INTERFACE, $(DEFS)))
80
-	MODIFACE=-DOPENSER_MOD_INTERFACE
80
+	MODIFACE=-DKAMAILIO_MOD_INTERFACE
81 81
 else
82 82
 	MODIFACE=-DSER_MOD_INTERFACE
83 83
 endif
... ...
@@ -190,7 +190,8 @@
190 190
 
191 191
 #define PATH_MAX_GUESS	1024		/*!< maximum path length */
192 192
 
193
-#ifdef OPENSER_MOD_INTERFACE
193
+#if defined KAMAILIO_MOD_INTERFACE || defined OPENSER_MOD_INTERFACE || \
194
+		defined MOD_INTERFACE_V1
194 195
 	#define DEFAULT_DB_URL "mysql://openser:openserrw@localhost/openser"
195 196
 	#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
196 197
 	#define DEFAULT_RODB_URL "mysql://openserro:openserro@localhost/openser"
... ...
@@ -54,7 +54,7 @@ else
54 54
 	LIBS = $(shell lua-config --libs)
55 55
 endif
56 56
 
57
-DEFS+=-DOPENSER_MOD_INTERFACE
57
+DEFS+=-DKAMAILIO_MOD_INTERFACE
58 58
 
59 59
 SERLIBPATH=../../lib
60 60
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -14,7 +14,7 @@ else
14 14
 	LIBS = $(shell pkg-config --libs mono-2)
15 15
 endif
16 16
 
17
-DEFS+=-DOPENSER_MOD_INTERFACE
17
+DEFS+=-DKAMAILIO_MOD_INTERFACE
18 18
 
19 19
 SERLIBPATH=../../lib
20 20
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -25,7 +25,7 @@ LIBS+=-pthread
25 25
 endif
26 26
 
27 27
 DEFS+=-I${PYTHON_INCDIR}
28
-DEFS+=-DOPENSER_MOD_INTERFACE
28
+DEFS+=-DKAMAILIO_MOD_INTERFACE
29 29
 
30 30
 include ../../Makefile.modules
31 31
 
... ...
@@ -7,6 +7,6 @@ auto_gen=
7 7
 NAME=async.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=avpops.so
11 11
 LIBS= 
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -30,7 +30,7 @@ endif
30 30
 DEFS+=$(CONFUSEDEFS)
31 31
 LIBS=$(CONFUSELIBS)
32 32
 
33
-DEFS+=-DOPENSER_MOD_INTERFACE
33
+DEFS+=-DKAMAILIO_MOD_INTERFACE
34 34
 
35 35
 SERLIBPATH=../../lib
36 36
 SER_LIBS+=$(SERLIBPATH)/trie/trie $(SERLIBPATH)/srdb1/srdb1 $(SERLIBPATH)/kmi/kmi $(SERLIBPATH)/kcore/kcore
... ...
@@ -7,6 +7,6 @@ auto_gen=
7 7
 NAME=corex.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 include ../../Makefile.modules
... ...
@@ -14,7 +14,7 @@ NAME=db_cassandra.so
14 14
 
15 15
 THRIFT_DIR = /usr/local/include/thrift
16 16
 LIB_DIR = /usr/local/lib
17
-DEFS += -I${THRIFT_DIR} -DOPENSER_MOD_INTERFACE
17
+DEFS += -I${THRIFT_DIR} -DKAMAILIO_MOD_INTERFACE
18 18
 LIBS += -L${LIB_DIR} dbcassa_base.o cassandra_constants.o cassandra_types.o Cassandra.o -lthrift
19 19
 
20 20
 CXXFLAGS=$(CFLAGS:-Wno-deprecated option=)
... ...
@@ -7,6 +7,6 @@ auto_gen=
7 7
 NAME=debugger.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 include ../../Makefile.modules
... ...
@@ -21,7 +21,7 @@ endif
21 21
 DEFS+=$(PCREDEFS)
22 22
 LIBS=$(PCRELIBS)
23 23
 
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 SERLIBPATH=../../lib
27 27
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=enum.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -7,7 +7,7 @@ auto_gen=
7 7
 NAME=geoip.so
8 8
 LIBS= -lGeoIP
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -9,6 +9,6 @@ auto_gen=
9 9
 NAME=ipops.so
10 10
 
11 11
 LIBS=
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 SERLIBPATH=../../lib
14 14
 include ../../Makefile.modules
15 15
\ No newline at end of file
... ...
@@ -18,7 +18,7 @@ else
18 18
 	DEFS+= $(shell pkg-config --cflags json)
19 19
 	LIBS+= $(shell pkg-config --libs json)
20 20
 endif
21
-DEFS+=-DOPENSER_MOD_INTERFACE
21
+DEFS+=-DKAMAILIO_MOD_INTERFACE
22 22
 
23 23
 SERLIBPATH=../../lib
24 24
 # SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -21,7 +21,7 @@ else
21 21
 	LIBS+= $(shell pkg-config --libs libevent)
22 22
 endif
23 23
  
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 SERLIBPATH=../../lib
27 27
 include ../../Makefile.modules
... ...
@@ -23,7 +23,7 @@ endif
23 23
 DEFS+=$(PCREDEFS)
24 24
 LIBS=$(PCRELIBS)
25 25
 
26
-DEFS+=-DOPENSER_MOD_INTERFACE
26
+DEFS+=-DKAMAILIO_MOD_INTERFACE
27 27
 
28 28
 SERLIBPATH=../../lib
29 29
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -5,7 +5,7 @@ auto_gen=
5 5
 NAME=matrix.so
6 6
 LIBS=
7 7
 
8
-DEFS+=-DOPENSER_MOD_INTERFACE
8
+DEFS+=-DKAMAILIO_MOD_INTERFACE
9 9
 
10 10
 SERLIBPATH=../../lib
11 11
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=mediaproxy.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
16 16
 
... ...
@@ -7,7 +7,7 @@ auto_gen=
7 7
 NAME=mqueue.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -7,6 +7,6 @@ auto_gen=
7 7
 NAME=msrp.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 include ../../Makefile.modules
... ...
@@ -7,7 +7,7 @@ auto_gen=
7 7
 NAME=mtree.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -8,7 +8,7 @@ NAME=ndb_redis.so
8 8
 DEFS += -I/usr/local/include
9 9
 LIBS = -lhiredis
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 SERLIBPATH=../../lib
14 14
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -6,7 +6,7 @@ auto_gen=
6 6
 NAME=pdb.so
7 7
 
8 8
 LIBS=
9
-DEFS+=-DOPENSER_MOD_INTERFACE
9
+DEFS+=-DKAMAILIO_MOD_INTERFACE
10 10
 
11 11
 SERLIBPATH=../../lib
12 12
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi $(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ include ../../Makefile.radius
10 10
 auto_gen=
11 11
 NAME=peering.so
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -9,7 +9,7 @@ auto_gen=
9 9
 NAME=pipelimit.so
10 10
 LIBS= 
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 SERLIBPATH=../../lib
15 15
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -9,7 +9,7 @@ auto_gen=
9 9
 NAME=ratelimit.so
10 10
 LIBS= 
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 SERLIBPATH=../../lib
15 15
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=rtpproxy.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -9,6 +9,6 @@ NAME=sdpops.so
9 9
 DEFS +=
10 10
 LIBS +=
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=sipcapture.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -35,7 +35,7 @@ endif
35 35
 # dcm: tls.cfg installed via local 'install-cfg' to update paths
36 36
 #MOD_INSTALL_CFGS=tls.cfg
37 37
 
38
-DEFS+=-DOPENSER_MOD_INTERFACE
38
+DEFS+=-DKAMAILIO_MOD_INTERFACE
39 39
 
40 40
 include ../../Makefile.modules
41 41
 
... ...
@@ -9,7 +9,7 @@ NAME=tmrec.so
9 9
 DEFS +=
10 10
 LIBS +=
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 SERLIBPATH=../../lib
15 15
 SER_LIBS+=$(SERLIBPATH)/srutils/srutils
... ...
@@ -10,6 +10,6 @@ auto_gen=
10 10
 NAME=topoh.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -13,7 +13,7 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
13 13
       -I$(LOCALBASE)/include
14 14
 LIBS+=-L$(LOCALBASE)/lib -lcurl -lxml2
15 15
 
16
-DEFS+=-DOPENSER_MOD_INTERFACE
16
+DEFS+=-DKAMAILIO_MOD_INTERFACE
17 17
 
18 18
 SERLIBPATH=../../lib
19 19
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -19,7 +19,7 @@ else
19 19
 endif
20 20
 LIBS+= -lunistring
21 21
 
22
-DEFS+=-DOPENSER_MOD_INTERFACE
22
+DEFS+=-DKAMAILIO_MOD_INTERFACE
23 23
 
24 24
 SERLIBPATH=../../lib
25 25
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -9,6 +9,6 @@ NAME=xhttp.so
9 9
 DEFS +=
10 10
 LIBS +=
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 include ../../Makefile.modules
... ...
@@ -9,6 +9,6 @@ NAME=xhttp_rpc.so
9 9
 DEFS +=
10 10
 LIBS +=
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 include ../../Makefile.modules
... ...
@@ -24,6 +24,6 @@ else
24 24
 
25 25
 endif
26 26
 
27
-DEFS+=-DOPENSER_MOD_INTERFACE
27
+DEFS+=-DKAMAILIO_MOD_INTERFACE
28 28
 
29 29
 include ../../Makefile.modules
... ...
@@ -28,7 +28,7 @@ ifeq ($(ENABLE_DIAMETER_ACC),true)
28 28
 DEFS+=-DDIAM_ACC
29 29
 endif
30 30
 
31
-DEFS+=-DOPENSER_MOD_INTERFACE
31
+DEFS+=-DKAMAILIO_MOD_INTERFACE
32 32
 
33 33
 SERLIBPATH=../../lib
34 34
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1 $(SERLIBPATH)/kcore/kcore
... ...
@@ -12,7 +12,7 @@ LIBS=
12 12
 
13 13
 include ../../Makefile.radius
14 14
 
15
-DEFS+=-DOPENSER_MOD_INTERFACE
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16 16
 
17 17
 SERLIBPATH=../../lib
18 18
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -12,7 +12,7 @@ NAME=alias_db.so
12 12
 LIBS=
13 13
 DEFS+=
14 14
 
15
-DEFS+=-DOPENSER_MOD_INTERFACE
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16 16
 
17 17
 SERLIBPATH=../../lib
18 18
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=auth_db.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore $(SERLIBPATH)/srdb1/srdb1
... ...
@@ -11,6 +11,6 @@ auto_gen=
11 11
 NAME=auth_diameter.so
12 12
 LIBS=
13 13
 
14
-DEFS+=-DOPENSER_MOD_INTERFACE
14
+DEFS+=-DKAMAILIO_MOD_INTERFACE
15 15
 
16 16
 include ../../Makefile.modules
... ...
@@ -11,7 +11,7 @@ include ../../Makefile.radius
11 11
 auto_gen=
12 12
 NAME=auth_radius.so
13 13
 
14
-DEFS+=-DOPENSER_MOD_INTERFACE
14
+DEFS+=-DKAMAILIO_MOD_INTERFACE
15 15
 
16 16
 SERLIBPATH=../../lib
17 17
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -16,7 +16,7 @@ DEFS+=
16 16
 #DEFS+= -DBM_CLOCK_REALTIME
17 17
 #LIBS+= -lrt
18 18
 
19
-DEFS+=-DOPENSER_MOD_INTERFACE
19
+DEFS+=-DKAMAILIO_MOD_INTERFACE
20 20
 
21 21
 SERLIBPATH=../../lib
22 22
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -9,7 +9,7 @@ include ../../Makefile.defs
9 9
 auto_gen=
10 10
 NAME=call_control.so
11 11
 LIBS=
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=cfgutils.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -11,7 +11,7 @@ DEFS +=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
11 11
 
12 12
 LIBS= -L$(LOCALBASE)/lib -lxml2
13 13
 
14
-DEFS+=-DOPENSER_MOD_INTERFACE
14
+DEFS+=-DKAMAILIO_MOD_INTERFACE
15 15
 
16 16
 SERLIBPATH=../../lib
17 17
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -7,7 +7,7 @@ auto_gen=
7 7
 NAME=db_cluster.so
8 8
 LIBS=
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -61,7 +61,7 @@ ifneq ($(ORAPATH),)
61 61
     LIBS +=-Wl,-rpath $(ORAPATH)
62 62
 endif
63 63
 
64
-DEFS+=-DOPENSER_MOD_INTERFACE
64
+DEFS+=-DKAMAILIO_MOD_INTERFACE
65 65
 
66 66
 SERLIBPATH=../../lib
67 67
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -8,7 +8,7 @@ NAME=db_sqlite.so
8 8
 
9 9
 LIBS +=-lsqlite3
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 SERLIBPATH=../../lib
14 14
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -13,7 +13,7 @@ auto_gen=
13 13
 NAME=db_text.so
14 14
 LIBS=
15 15
 
16
-DEFS+=-DOPENSER_MOD_INTERFACE
16
+DEFS+=-DKAMAILIO_MOD_INTERFACE
17 17
 
18 18
 SERLIBPATH=../../lib
19 19
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -13,7 +13,7 @@ DEFS += -I$(LOCALBASE)/include
13 13
 # (Debian does the right thing and puts it in /usr/lib)
14 14
 LIBS= -L$(LOCALBASE)/lib -lodbc
15 15
 
16
-DEFS+=-DOPENSER_MOD_INTERFACE
16
+DEFS+=-DKAMAILIO_MOD_INTERFACE
17 17
 
18 18
 SERLIBPATH=../../lib
19 19
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -7,7 +7,7 @@ auto_gen=
7 7
 NAME=dialog.so
8 8
 LIBS= 
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -12,7 +12,7 @@ NAME=dispatcher.so
12 12
 
13 13
 LIBS=
14 14
 
15
-DEFS+=-DOPENSER_MOD_INTERFACE
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16 16
 
17 17
 SERLIBPATH=../../lib
18 18
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,6 +10,6 @@ auto_gen=
10 10
 NAME=diversion.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=dmq.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=domain.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=domainpolicy.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -6,7 +6,7 @@ include ../../Makefile.defs
6 6
 auto_gen=
7 7
 NAME=drouting.so
8 8
 LIBS= 
9
-DEFS+=-DOPENSER_MOD_INTERFACE
9
+DEFS+=-DKAMAILIO_MOD_INTERFACE
10 10
 
11 11
 SERLIBPATH=../../lib
12 12
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,6 +10,6 @@ auto_gen=
10 10
 NAME=exec.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=group.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -12,6 +12,6 @@ NAME=h350.so
12 12
 LIBS=
13 13
 DEFS+=-I$(LOCALBASE)/include
14 14
 
15
-DEFS+=-DOPENSER_MOD_INTERFACE
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16 16
 
17 17
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=htable.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=imc.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=kex.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -21,6 +21,6 @@ ifeq ($(OS),solaris)
21 21
 endif
22 22
 
23 23
 
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 include ../../Makefile.modules
... ...
@@ -10,6 +10,6 @@ auto_gen=
10 10
 NAME=maxfwd.so
11 11
 LIBS= 
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -6,7 +6,7 @@ include ../../Makefile.defs
6 6
 auto_gen=
7 7
 NAME=memcached.so
8 8
 
9
-DEFS+=-DOPENSER_MOD_INTERFACE
9
+DEFS+=-DKAMAILIO_MOD_INTERFACE
10 10
 
11 11
 DEFS +=-I$(LOCALBASE)/include -I$(SYSBASE)/include
12 12
 LIBS+=-L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lmemcache
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=mi_datagram.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=mi_fifo.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -83,7 +83,7 @@ DEFS+=$(MY_DEFS)
83 83
 LIBS+=$(MY_LIBS)
84 84
 
85 85
 
86
-DEFS+=-DOPENSER_MOD_INTERFACE
86
+DEFS+=-DKAMAILIO_MOD_INTERFACE
87 87
 
88 88
 SERLIBPATH=../../lib
89 89
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -8,6 +8,6 @@ include ../../Makefile.radius
8 8
 auto_gen=
9 9
 NAME=misc_radius.so
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=msilo.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=nat_traversal.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=nathelper.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -9,6 +9,6 @@ NAME=osp.so
9 9
 DEFS+=-D_POSIX_THREADS -I$(LOCALBASE)/include
10 10
 LIBS=-L$(LOCALBASE)/lib -losptk -lssl -lcrypto -lpthread -lm
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=p_usrloc.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,6 +10,6 @@ auto_gen=
10 10
 NAME=path.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=pdt.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -22,7 +22,7 @@ endif
22 22
 DEFS+=$(PERLCCOPTS)
23 23
 
24 24
 
25
-DEFS+=-DOPENSER_MOD_INTERFACE
25
+DEFS+=-DKAMAILIO_MOD_INTERFACE
26 26
 
27 27
 SERLIBPATH=../../lib
28 28
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -11,7 +11,7 @@ DEFS+=$(PERL_DEFS)
11 11
 
12 12
 
13 13
 
14
-DEFS+=-DOPENSER_MOD_INTERFACE
14
+DEFS+=-DKAMAILIO_MOD_INTERFACE
15 15
 
16 16
 SERLIBPATH=../../lib
17 17
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -9,7 +9,7 @@ auto_gen=
9 9
 NAME=permissions.so
10 10
 LIBS=
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 SERLIBPATH=../../lib
15 15
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=pike.so
11 11
 LIBS= 
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -21,7 +21,7 @@ else
21 21
 
22 22
 endif
23 23
 
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 SERLIBPATH=../../lib
27 27
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -8,7 +8,7 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
8 8
       -I$(LOCALBASE)/include
9 9
 LIBS+=-L$(LOCALBASE)/lib -lxml2
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 include ../../Makefile.modules
14 14
 
... ...
@@ -21,7 +21,7 @@ else
21 21
 
22 22
 endif
23 23
 
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 include ../../Makefile.modules
27 27
 
... ...
@@ -6,6 +6,6 @@ auto_gen=
6 6
 NAME=presence_mwi.so
7 7
 LIBS=
8 8
 
9
-DEFS+=-DOPENSER_MOD_INTERFACE
9
+DEFS+=-DKAMAILIO_MOD_INTERFACE
10 10
 
11 11
 include ../../Makefile.modules
... ...
@@ -6,6 +6,6 @@ auto_gen=
6 6
 NAME=presence_profile.so
7 7
 LIBS=
8 8
 
9
-DEFS+=-DOPENSER_MOD_INTERFACE
9
+DEFS+=-DKAMAILIO_MOD_INTERFACE
10 10
 
11 11
 include ../../Makefile.modules
... ...
@@ -11,7 +11,7 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
11 11
       -I$(LOCALBASE)/include
12 12
 LIBS+=-L$(LOCALBASE)/lib -lxml2
13 13
 
14
-DEFS+=-DOPENSER_MOD_INTERFACE
14
+DEFS+=-DKAMAILIO_MOD_INTERFACE
15 15
 
16 16
 include ../../Makefile.modules
17 17
 
... ...
@@ -21,7 +21,7 @@ else
21 21
 
22 22
 endif
23 23
 
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 SERLIBPATH=../../lib
27 27
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,7 +10,7 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
10 10
       -I$(LOCALBASE)/include
11 11
 LIBS+=-L$(LOCALBASE)/lib -lxml2
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -8,7 +8,7 @@ LIBS=
8 8
 DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 -I$(LOCALBASE)/include
9 9
 LIBS+=-L$(LOCALBASE)/lib -lxml2
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 SERLIBPATH=../../lib
14 14
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,6 +10,6 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
10 10
       -I$(LOCALBASE)/include
11 11
 LIBS+=-L$(LOCALBASE)/lib -lxml2
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -6,7 +6,7 @@ auto_gen=
6 6
 NAME=pua_mi.so
7 7
 LIBS=
8 8
 
9
-DEFS+=-DOPENSER_MOD_INTERFACE
9
+DEFS+=-DKAMAILIO_MOD_INTERFACE
10 10
 
11 11
 SERLIBPATH=../../lib
12 12
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -14,6 +14,6 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
14 14
       -I$(LOCALBASE)/include
15 15
 LIBS+=-L$(LOCALBASE)/lib -lxml2
16 16
 
17
-DEFS+=-DOPENSER_MOD_INTERFACE
17
+DEFS+=-DKAMAILIO_MOD_INTERFACE
18 18
 
19 19
 include ../../Makefile.modules
... ...
@@ -10,6 +10,6 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
10 10
       -I$(LOCALBASE)/include
11 11
 LIBS+=-L$(LOCALBASE)/lib -lxml2
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -9,7 +9,7 @@ LIBS=
9 9
 DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 -I$(LOCALBASE)/include
10 10
 LIBS+=-L$(LOCALBASE)/lib -lxml2
11 11
 
12
-DEFS+=-DOPENSER_MOD_INTERFACE
12
+DEFS+=-DKAMAILIO_MOD_INTERFACE
13 13
 
14 14
 SERLIBPATH=../../lib
15 15
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -16,7 +16,7 @@ else
16 16
 	LIBS+= $(shell pkg-config --libs libxml-2.0)
17 17
 endif
18 18
 
19
-DEFS+=-DOPENSER_MOD_INTERFACE
19
+DEFS+=-DKAMAILIO_MOD_INTERFACE
20 20
 
21 21
 SERLIBPATH=../../lib
22 22
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=pv.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -32,7 +32,7 @@ include ../../Makefile.defs
32 32
 auto_gen=
33 33
 NAME=qos.so
34 34
 
35
-DEFS+=-DOPENSER_MOD_INTERFACE
35
+DEFS+=-DKAMAILIO_MOD_INTERFACE
36 36
 
37 37
 SERLIBPATH=../../lib
38 38
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -19,7 +19,7 @@ endif
19 19
 DEFS+=$(PCREDEFS)
20 20
 LIBS=$(PCRELIBS)
21 21
 
22
-DEFS+=-DOPENSER_MOD_INTERFACE
22
+DEFS+=-DKAMAILIO_MOD_INTERFACE
23 23
 
24 24
 SERLIBPATH=../../lib
25 25
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=registrar.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -14,7 +14,7 @@ DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
14 14
       -I$(LOCALBASE)/include
15 15
 LIBS+=-L$(LOCALBASE)/lib -lxml2
16 16
 
17
-DEFS+=-DOPENSER_MOD_INTERFACE
17
+DEFS+=-DKAMAILIO_MOD_INTERFACE
18 18
 
19 19
 SERLIBPATH=../../lib
20 20
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -12,6 +12,6 @@ LIBS=
12 12
 
13 13
 #DEFS+=-DENABLE_USER_CHECK
14 14
 
15
-DEFS+=-DOPENSER_MOD_INTERFACE
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16 16
 
17 17
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=rtimer.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=seas.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=siptrace.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -5,7 +5,7 @@ auto_gen=
5 5
 NAME=siputils.so
6 6
 LIBS= 
7 7
 
8
-DEFS+=-DOPENSER_MOD_INTERFACE
8
+DEFS+=-DKAMAILIO_MOD_INTERFACE
9 9
 
10 10
 SERLIBPATH=../../lib
11 11
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -21,7 +21,7 @@ NAME=snmpstats.so
21 21
 LIBS=$(BUILDAGENTLIBS)
22 22
 
23 23
 
24
-DEFS+=-DOPENSER_MOD_INTERFACE
24
+DEFS+=-DKAMAILIO_MOD_INTERFACE
25 25
 
26 26
 SERLIBPATH=../../lib
27 27
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -12,7 +12,7 @@ NAME=speeddial.so
12 12
 LIBS=
13 13
 DEFS+=
14 14
 
15
-DEFS+=-DOPENSER_MOD_INTERFACE
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16 16
 
17 17
 SERLIBPATH=../../lib
18 18
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=sqlops.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -33,7 +33,7 @@ auto_gen=
33 33
 NAME=sst.so
34 34
 LIBS=
35 35
 
36
-DEFS+=-DOPENSER_MOD_INTERFACE
36
+DEFS+=-DKAMAILIO_MOD_INTERFACE
37 37
 
38 38
 SERLIBPATH=../../lib
39 39
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -7,7 +7,7 @@ auto_gen=
7 7
 NAME=statistics.so
8 8
 LIBS= 
9 9
 
10
-DEFS+=-DOPENSER_MOD_INTERFACE
10
+DEFS+=-DKAMAILIO_MOD_INTERFACE
11 11
 
12 12
 SERLIBPATH=../../lib
13 13
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=textops.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=tmx.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=uac.so
11 11
 LIBS= 
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore
... ...
@@ -8,6 +8,6 @@ auto_gen=
8 8
 NAME=uac_redirect.so
9 9
 LIBS= 
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 include ../../Makefile.modules
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=uri_db.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -5,7 +5,7 @@ auto_gen=
5 5
 NAME=userblacklist.so
6 6
 LIBS=
7 7
 
8
-DEFS+=-DOPENSER_MOD_INTERFACE
8
+DEFS+=-DKAMAILIO_MOD_INTERFACE
9 9
 
10 10
 SERLIBPATH=../../lib
11 11
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -10,7 +10,7 @@ auto_gen=
10 10
 NAME=usrloc.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 SERLIBPATH=../../lib
16 16
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
... ...
@@ -24,7 +24,7 @@ else
24 24
 
25 25
 endif
26 26
 
27
-DEFS+=-DOPENSER_MOD_INTERFACE
27
+DEFS+=-DKAMAILIO_MOD_INTERFACE
28 28
 
29 29
 SERLIBPATH=../../lib
30 30
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -25,7 +25,7 @@ else
25 25
 
26 26
 endif
27 27
 
28
-DEFS+=-DOPENSER_MOD_INTERFACE
28
+DEFS+=-DKAMAILIO_MOD_INTERFACE
29 29
 
30 30
 SERLIBPATH=../../lib
31 31
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -10,6 +10,6 @@ auto_gen=
10 10
 NAME=xlog.so
11 11
 LIBS=
12 12
 
13
-DEFS+=-DOPENSER_MOD_INTERFACE
13
+DEFS+=-DKAMAILIO_MOD_INTERFACE
14 14
 
15 15
 include ../../Makefile.modules
... ...
@@ -15,6 +15,6 @@ LIBS=
15 15
 DEFS += -I$(LOCALBASE)/include
16 16
 LIBS  = -L$(LOCALBASE)/lib -lexpat
17 17
 
18
-DEFS+=-DOPENSER_MOD_INTERFACE
18
+DEFS+=-DKAMAILIO_MOD_INTERFACE
19 19
 
20 20
 include ../../Makefile.modules
... ...
@@ -17,7 +17,7 @@ DEFS+=-DXJ_EXTRA_DEBUG
17 17
 DEFS+=-I$(LOCALBASE)/include
18 18
 LIBS=-L$(LOCALBASE)/lib -lexpat
19 19
 
20
-DEFS+=-DOPENSER_MOD_INTERFACE
20
+DEFS+=-DKAMAILIO_MOD_INTERFACE
21 21
 
22 22
 SERLIBPATH=../../lib
23 23
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
... ...
@@ -54,6 +54,10 @@ BEGIN {
54 54
     defs_seen = 1
55 55
 }
56 56
 
57
+/^[ \t]*DEFS[ \t]*\+?=.*KAMAILIO_MOD_INTERFACE/ {
58
+    defs_seen = 1
59
+}
60
+
57 61
 /^[ \t]*SER_LIBS[ \t]*\+?=.*srdb1\/srdb1/ {
58 62
     libs_seen = 1
59 63
 }
... ...
@@ -66,7 +70,7 @@ BEGIN {
66 66
 # this is most likely the last line in the Makefile
67 67
 /^[ \t]*include[ \t]+.*\/Makefile\.modules[ \t]*$/ {
68 68
     if (serlibpath_seen == 0) print "SERLIBPATH=../../lib"
69
-    if (defs_seen == 0) print "DEFS+=-DOPENSER_MOD_INTERFACE"
69
+    if (defs_seen == 0) print "DEFS+=-DKAMAILIO_MOD_INTERFACE"
70 70
     if (libs_seen == 0) print "SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1"
71 71
 }
72 72