Browse code

modules_k/*: moved k modules in directory modules/

Daniel-Constantin Mierla authored on 20/01/2013 11:57:52
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,62 +0,0 @@
1
-/*
2
- * Copyright (C) 2006 Voice Sistem S.R.L.
3
- *
4
- * This file is part of Kamailio, a free SIP server.
5
- *
6
- * Kamailio is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version
10
- *
11
- * Kamailio is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License 
17
- * along with this program; if not, write to the Free Software 
18
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
- *
20
- * History:
21
- * --------
22
- *  2007-04-18  initial version (anca)
23
- */
24
-
25
-/*! \file
26
- * \brief Kamailio Presence_XML :: Core
27
- * \ref presence_xml.c
28
- * \ingroup presence_xml
29
- */
30
-
31
-
32
-#ifndef _PRES_XML_H_
33
-#define _PRES_XML_H_
34
-
35
-#include "../../lib/srdb1/db.h"
36
-#include "../../modules/sl/sl.h"
37
-#include "../presence/event_list.h"
38
-#include "../presence/presence.h"
39
-#include "../presence/presentity.h"
40
-#include "../xcap_client/xcap_functions.h"
41
-
42
-typedef struct xcap_serv
43
-{
44
-	char* addr;
45
-	unsigned int port;
46
-	struct xcap_serv* next;
47
-} xcap_serv_t;
48
-
49
-extern sl_api_t slb;
50
-
51
-extern str xcap_table;
52
-extern add_event_t pres_add_event;
53
-extern db1_con_t *pxml_db;
54
-extern db_func_t pxml_dbf;
55
-extern int force_active;
56
-extern int pidf_manipulation;
57
-extern int integrated_xcap_server;
58
-extern xcap_serv_t* xs_list;
59
-extern xcapGetNewDoc_t xcap_GetNewDoc;
60
-extern pres_get_sphere_t pres_get_sphere;
61
-
62
-#endif
Browse code

presence(k): fix doxygen errors, small extensions and cleanups in comments

Henning Westerholt authored on 08/08/2011 20:18:28
Showing 1 changed files
... ...
@@ -1,8 +1,4 @@
1 1
 /*
2
- * $Id: presence_xml.h 2006-12-07 18:05:05Z anca_vamanu$
3
- *
4
- * presence_xml module - Presence Handling XML bodies module
5
- *
6 2
  * Copyright (C) 2006 Voice Sistem S.R.L.
7 3
  *
8 4
  * This file is part of Kamailio, a free SIP server.
Browse code

presence_xml(k): updated to use common sl module

Daniel-Constantin Mierla authored on 24/07/2010 11:05:19
Showing 1 changed files
... ...
@@ -37,7 +37,7 @@
37 37
 #define _PRES_XML_H_
38 38
 
39 39
 #include "../../lib/srdb1/db.h"
40
-#include "../sl/sl_api.h"
40
+#include "../../modules/sl/sl.h"
41 41
 #include "../presence/event_list.h"
42 42
 #include "../presence/presence.h"
43 43
 #include "../presence/presentity.h"
... ...
@@ -48,7 +48,9 @@ typedef struct xcap_serv
48 48
 	char* addr;
49 49
 	unsigned int port;
50 50
 	struct xcap_serv* next;
51
-}xcap_serv_t;
51
+} xcap_serv_t;
52
+
53
+extern sl_api_t slb;
52 54
 
53 55
 extern str xcap_table;
54 56
 extern add_event_t pres_add_event;
Browse code

* modules: presence_mwi, presence_xml, pua, pua_mi

Moved back to modules_k presence related modules, because they include
stuff from sl module that does not exist in modules yet.

Juha Heinanen authored on 18/04/2009 12:53:54
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,64 @@
1
+/*
2
+ * $Id: presence_xml.h 2006-12-07 18:05:05Z anca_vamanu$
3
+ *
4
+ * presence_xml module - Presence Handling XML bodies module
5
+ *
6
+ * Copyright (C) 2006 Voice Sistem S.R.L.
7
+ *
8
+ * This file is part of Kamailio, a free SIP server.
9
+ *
10
+ * Kamailio is free software; you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation; either version 2 of the License, or
13
+ * (at your option) any later version
14
+ *
15
+ * Kamailio is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License 
21
+ * along with this program; if not, write to the Free Software 
22
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
+ *
24
+ * History:
25
+ * --------
26
+ *  2007-04-18  initial version (anca)
27
+ */
28
+
29
+/*! \file
30
+ * \brief Kamailio Presence_XML :: Core
31
+ * \ref presence_xml.c
32
+ * \ingroup presence_xml
33
+ */
34
+
35
+
36
+#ifndef _PRES_XML_H_
37
+#define _PRES_XML_H_
38
+
39
+#include "../../lib/srdb1/db.h"
40
+#include "../sl/sl_api.h"
41
+#include "../presence/event_list.h"
42
+#include "../presence/presence.h"
43
+#include "../presence/presentity.h"
44
+#include "../xcap_client/xcap_functions.h"
45
+
46
+typedef struct xcap_serv
47
+{
48
+	char* addr;
49
+	unsigned int port;
50
+	struct xcap_serv* next;
51
+}xcap_serv_t;
52
+
53
+extern str xcap_table;
54
+extern add_event_t pres_add_event;
55
+extern db1_con_t *pxml_db;
56
+extern db_func_t pxml_dbf;
57
+extern int force_active;
58
+extern int pidf_manipulation;
59
+extern int integrated_xcap_server;
60
+extern xcap_serv_t* xs_list;
61
+extern xcapGetNewDoc_t xcap_GetNewDoc;
62
+extern pres_get_sphere_t pres_get_sphere;
63
+
64
+#endif
Browse code

* modules: peering, pua, pua_mi, presence, presence_xml, presence_mwi

Moved some k modules that don't exist in s from modules_k to modules.

Juha Heinanen authored on 18/04/2009 12:29:07
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,64 +0,0 @@
1
-/*
2
- * $Id: presence_xml.h 2006-12-07 18:05:05Z anca_vamanu$
3
- *
4
- * presence_xml module - Presence Handling XML bodies module
5
- *
6
- * Copyright (C) 2006 Voice Sistem S.R.L.
7
- *
8
- * This file is part of Kamailio, a free SIP server.
9
- *
10
- * Kamailio is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License as published by
12
- * the Free Software Foundation; either version 2 of the License, or
13
- * (at your option) any later version
14
- *
15
- * Kamailio is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
- * GNU General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU General Public License 
21
- * along with this program; if not, write to the Free Software 
22
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
- *
24
- * History:
25
- * --------
26
- *  2007-04-18  initial version (anca)
27
- */
28
-
29
-/*! \file
30
- * \brief Kamailio Presence_XML :: Core
31
- * \ref presence_xml.c
32
- * \ingroup presence_xml
33
- */
34
-
35
-
36
-#ifndef _PRES_XML_H_
37
-#define _PRES_XML_H_
38
-
39
-#include "../../lib/srdb1/db.h"
40
-#include "../sl/sl_api.h"
41
-#include "../presence/event_list.h"
42
-#include "../presence/presence.h"
43
-#include "../presence/presentity.h"
44
-#include "../xcap_client/xcap_functions.h"
45
-
46
-typedef struct xcap_serv
47
-{
48
-	char* addr;
49
-	unsigned int port;
50
-	struct xcap_serv* next;
51
-}xcap_serv_t;
52
-
53
-extern str xcap_table;
54
-extern add_event_t pres_add_event;
55
-extern db1_con_t *pxml_db;
56
-extern db_func_t pxml_dbf;
57
-extern int force_active;
58
-extern int pidf_manipulation;
59
-extern int integrated_xcap_server;
60
-extern xcap_serv_t* xs_list;
61
-extern xcapGetNewDoc_t xcap_GetNewDoc;
62
-extern pres_get_sphere_t pres_get_sphere;
63
-
64
-#endif
Browse code

Various db api changes needed after migration to libsrdb1

This patch makes the module compatible with the changes done in the
database library of kamailio/ser when it was converted to shared library
libsrdb1. These changes are mostly needed to avoid conflicts with the
symbols defined in the newer version of the library libsrdb2.

List of changes:
* Rename db_con_t to db1_con_t
* Rename db_res_t to db1_res_t
* Rename db field type names from DB_* to DB1_*
* Updated header paths to files in ../../lib/srdb1
* Link with libsrdb1

Jan Janak authored on 03/03/2009 14:41:36
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@
36 36
 #ifndef _PRES_XML_H_
37 37
 #define _PRES_XML_H_
38 38
 
39
-#include "../../db/db.h"
39
+#include "../../lib/srdb1/db.h"
40 40
 #include "../sl/sl_api.h"
41 41
 #include "../presence/event_list.h"
42 42
 #include "../presence/presence.h"
... ...
@@ -52,7 +52,7 @@ typedef struct xcap_serv
52 52
 
53 53
 extern str xcap_table;
54 54
 extern add_event_t pres_add_event;
55
-extern db_con_t *pxml_db;
55
+extern db1_con_t *pxml_db;
56 56
 extern db_func_t pxml_dbf;
57 57
 extern int force_active;
58 58
 extern int pidf_manipulation;
Browse code

- renaming: openser -> kamailio

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4585 689a6050-402a-0410-94f2-e92a70836424

Klaus Darilion authored on 06/08/2008 08:20:30
Showing 1 changed files
... ...
@@ -27,7 +27,7 @@
27 27
  */
28 28
 
29 29
 /*! \file
30
- * \brief OpenSER Presence_XML :: Core
30
+ * \brief Kamailio Presence_XML :: Core
31 31
  * \ref presence_xml.c
32 32
  * \ingroup presence_xml
33 33
  */
Browse code

- change name in copyright headers

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4518 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 28/07/2008 15:39:28
Showing 1 changed files
... ...
@@ -5,14 +5,14 @@
5 5
  *
6 6
  * Copyright (C) 2006 Voice Sistem S.R.L.
7 7
  *
8
- * This file is part of openser, a free SIP server.
8
+ * This file is part of Kamailio, a free SIP server.
9 9
  *
10
- * openser is free software; you can redistribute it and/or modify
10
+ * Kamailio is free software; you can redistribute it and/or modify
11 11
  * it under the terms of the GNU General Public License as published by
12 12
  * the Free Software Foundation; either version 2 of the License, or
13 13
  * (at your option) any later version
14 14
  *
15
- * openser is distributed in the hope that it will be useful,
15
+ * Kamailio is distributed in the hope that it will be useful,
16 16
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 17
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 18
  * GNU General Public License for more details.
Browse code

- doxygen and formatting changes - patch provided from Olle E. Johansson, closes #2024590

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4499 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 23/07/2008 16:12:45
Showing 1 changed files
... ...
@@ -26,6 +26,13 @@
26 26
  *  2007-04-18  initial version (anca)
27 27
  */
28 28
 
29
+/*! \file
30
+ * \brief OpenSER Presence_XML :: Core
31
+ * \ref presence_xml.c
32
+ * \ingroup presence_xml
33
+ */
34
+
35
+
29 36
 #ifndef _PRES_XML_H_
30 37
 #define _PRES_XML_H_
31 38
 
Browse code

- introduced sphere and validity check support in permission rules processing ; made presence privacy preferences compliant with RFC4745 and RFC5025

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3744 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 22/02/2008 14:18:50
Showing 1 changed files
... ...
@@ -33,6 +33,7 @@
33 33
 #include "../sl/sl_api.h"
34 34
 #include "../presence/event_list.h"
35 35
 #include "../presence/presence.h"
36
+#include "../presence/presentity.h"
36 37
 #include "../xcap_client/xcap_functions.h"
37 38
 
38 39
 typedef struct xcap_serv
... ...
@@ -51,5 +52,6 @@ extern int pidf_manipulation;
51 52
 extern int integrated_xcap_server;
52 53
 extern xcap_serv_t* xs_list;
53 54
 extern xcapGetNewDoc_t xcap_GetNewDoc;
55
+extern pres_get_sphere_t pres_get_sphere;
54 56
 
55 57
 #endif
Browse code

- port database interface (almost) complete from 'const char*' to 'str' for more safety (e.g. not null terminated strings) and performance (save strlen calls in core and library code) - adapt existing modules to use the new interface - change bind_dbmod and use_table function to the naming scheme of the other functions of the API - port existing module to use 'str' values for database related parameters - if modules uses already 'str' functions internally, remove the unnecessary temporary variables - make functions and parameter that needs only locally be used static - introduce new column variables needed for the keys for modules that don't have them already, this could be used to make them configurable later on - add 'const' to more db related functions - fix postgres driver, async queries must be finished, otherwise the next one will not complete - smaller whitespace and formatting changes and cleanups all over the place - reviewed and tested with testcases, but probably not error free because of the change size

- basic DB operations should work, but no extensive load testing has yet be done,
as some work still remains:
- remove dead code and superflous comments in postgres driver
- clean up memory management, at the moment there exists two flavors: don't
copy that much (mysql, unixodbc), don't trust the driver, copy everything
(postgres, db_berkeley)
- after this is unified, then only one implementation for the memory
management of the db API could be used for all modules

- Foundations of this change have been created from Frederick Bullik,
Frederick.Bullik at 1und1 dot de

- Please review and test.


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3563 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 22/01/2008 13:55:43
Showing 1 changed files
... ...
@@ -42,7 +42,7 @@ typedef struct xcap_serv
42 42
 	struct xcap_serv* next;
43 43
 }xcap_serv_t;
44 44
 
45
-extern char *xcap_table;  
45
+extern str xcap_table;
46 46
 extern add_event_t pres_add_event;
47 47
 extern db_con_t *pxml_db;
48 48
 extern db_func_t pxml_dbf;
Browse code

- fixed warning for casts and re-declaration of functions and vars

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3501 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu authored on 06/01/2008 09:50:24
Showing 1 changed files
... ...
@@ -32,6 +32,7 @@
32 32
 #include "../../db/db.h"
33 33
 #include "../sl/sl_api.h"
34 34
 #include "../presence/event_list.h"
35
+#include "../presence/presence.h"
35 36
 #include "../xcap_client/xcap_functions.h"
36 37
 
37 38
 typedef struct xcap_serv
... ...
@@ -51,7 +52,4 @@ extern int integrated_xcap_server;
51 52
 extern xcap_serv_t* xs_list;
52 53
 extern xcapGetNewDoc_t xcap_GetNewDoc;
53 54
 
54
-/* SL bind */
55
-extern struct sl_binds slb;
56
-
57 55
 #endif
Browse code

- improved xcap_client module: - added conditional queries - possibility to configure a periodical query update method (works with any xcap server) - modified xcap table , added new columns and changed default name (version increased) - improved presence_xml - xcap_client interface - updated documentation

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2723 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 07/09/2007 16:23:17
Showing 1 changed files
... ...
@@ -37,6 +37,7 @@
37 37
 typedef struct xcap_serv
38 38
 {
39 39
 	char* addr;
40
+	unsigned int port;
40 41
 	struct xcap_serv* next;
41 42
 }xcap_serv_t;
42 43
 
... ...
@@ -48,7 +49,7 @@ extern int force_active;
48 49
 extern int pidf_manipulation;
49 50
 extern int integrated_xcap_server;
50 51
 extern xcap_serv_t* xs_list;
51
-extern xcap_get_elem_t xcap_GetElem;
52
+extern xcapGetNewDoc_t xcap_GetNewDoc;
52 53
 
53 54
 /* SL bind */
54 55
 extern struct sl_binds slb;
Browse code

- modified presence and presence_xml to allow using external XCAP servers with the possibility to configure the mode of operation through presence_xml module parameter 'integrated_xcap_server'

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2628 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 22/08/2007 13:32:55
Showing 1 changed files
... ...
@@ -32,6 +32,13 @@
32 32
 #include "../../db/db.h"
33 33
 #include "../sl/sl_api.h"
34 34
 #include "../presence/event_list.h"
35
+#include "../xcap_client/xcap_functions.h"
36
+
37
+typedef struct xcap_serv
38
+{
39
+	char* addr;
40
+	struct xcap_serv* next;
41
+}xcap_serv_t;
35 42
 
36 43
 extern char *xcap_table;  
37 44
 extern add_event_t pres_add_event;
... ...
@@ -39,6 +46,10 @@ extern db_con_t *pxml_db;
39 46
 extern db_func_t pxml_dbf;
40 47
 extern int force_active;
41 48
 extern int pidf_manipulation;
49
+extern int integrated_xcap_server;
50
+extern xcap_serv_t* xs_list;
51
+extern xcap_get_elem_t xcap_GetElem;
52
+
42 53
 /* SL bind */
43 54
 extern struct sl_binds slb;
44 55
 
Browse code

- included the right headers after correcting the error in presence_xml.h header file

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2588 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 09/08/2007 13:34:47
Showing 1 changed files
... ...
@@ -30,10 +30,12 @@
30 30
 #define _PRES_XML_H_
31 31
 
32 32
 #include "../../db/db.h"
33
+#include "../sl/sl_api.h"
34
+#include "../presence/event_list.h"
33 35
 
34 36
 extern char *xcap_table;  
35 37
 extern add_event_t pres_add_event;
36
-extern db_con_t *pxml_db = NULL;
38
+extern db_con_t *pxml_db;
37 39
 extern db_func_t pxml_dbf;
38 40
 extern int force_active;
39 41
 extern int pidf_manipulation;
Browse code

- corrected a typing error

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2587 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 09/08/2007 13:18:38
Showing 1 changed files
... ...
@@ -26,7 +26,7 @@
26 26
  *  2007-04-18  initial version (anca)
27 27
  */
28 28
 
29
-#ifdef _PRES_XML_H_
29
+#ifndef _PRES_XML_H_
30 30
 #define _PRES_XML_H_
31 31
 
32 32
 #include "../../db/db.h"
Browse code

- implemented the feature described in RFC 4827 - An Extensible Markup Language (XML) Configuration Access Protocol (XCAP) Usage for Manipulating Presence Document Contents - it enables the possibility to set a permanent presence state that is independent of activeness of any particular device ( example of situations in which it is useful: setting person-related state or when in vacantion/travelling ) - the usage is configurable through 'presence_xml' new module parameter - 'pidf_manipulation' - if set to 1 the feature is enabled - thanks to Mircea Amarascu from AG Projects for an initial version and for help with the testing.

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2296 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 25/05/2007 14:53:55
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ extern add_event_t pres_add_event;
36 36
 extern db_con_t *pxml_db = NULL;
37 37
 extern db_func_t pxml_dbf;
38 38
 extern int force_active;
39
-
39
+extern int pidf_manipulation;
40 40
 /* SL bind */
41 41
 extern struct sl_binds slb;
42 42
 
Browse code

- fixed some memory leaking bugs when calling libxml functions

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2258 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 22/05/2007 09:09:10
Showing 1 changed files
... ...
@@ -36,6 +36,7 @@ extern add_event_t pres_add_event;
36 36
 extern db_con_t *pxml_db = NULL;
37 37
 extern db_func_t pxml_dbf;
38 38
 extern int force_active;
39
+
39 40
 /* SL bind */
40 41
 extern struct sl_binds slb;
41 42
 
Browse code

-corrected a bug in opening database connexion

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2087 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 27/04/2007 11:53:03
Showing 1 changed files
... ...
@@ -33,8 +33,8 @@
33 33
 
34 34
 extern char *xcap_table;  
35 35
 extern add_event_t pres_add_event;
36
-extern db_con_t *pa_db = NULL;
37
-extern db_func_t pa_dbf;
36
+extern db_con_t *pxml_db = NULL;
37
+extern db_func_t pxml_dbf;
38 38
 extern int force_active;
39 39
 /* SL bind */
40 40
 extern struct sl_binds slb;
Browse code

- new module does specific handling for notify-subscribe events using xml bodies. It is used with the general event handling module, presence. It constructs and adds 3 events to it: presence, presence.winfo, dialog;sla.

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2037 689a6050-402a-0410-94f2-e92a70836424

Anca Vamanu authored on 19/04/2007 17:02:48
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+/*
2
+ * $Id: presence_xml.h 2006-12-07 18:05:05Z anca_vamanu$
3
+ *
4
+ * presence_xml module - Presence Handling XML bodies module
5
+ *
6
+ * Copyright (C) 2006 Voice Sistem S.R.L.
7
+ *
8
+ * This file is part of openser, a free SIP server.
9
+ *
10
+ * openser is free software; you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation; either version 2 of the License, or
13
+ * (at your option) any later version
14
+ *
15
+ * openser is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License 
21
+ * along with this program; if not, write to the Free Software 
22
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
+ *
24
+ * History:
25
+ * --------
26
+ *  2007-04-18  initial version (anca)
27
+ */
28
+
29
+#ifdef _PRES_XML_H_
30
+#define _PRES_XML_H_
31
+
32
+#include "../../db/db.h"
33
+
34
+extern char *xcap_table;  
35
+extern add_event_t pres_add_event;
36
+extern db_con_t *pa_db = NULL;
37
+extern db_func_t pa_dbf;
38
+extern int force_active;
39
+/* SL bind */
40
+extern struct sl_binds slb;
41
+
42
+#endif