Browse Source

- 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 18 years ago
parent
commit
a441792da7
1 changed files with 32 additions and 5 deletions
  1. 32 5
      lib/srdb1/schema/pr_xcap_xml.xml

+ 32 - 5
lib/srdb1/schema/pr_xcap_xml.xml

@@ -7,9 +7,9 @@
 
 ]>
 
-<table id="xcap_xml" xmlns:db="http://docbook.org/ns/docbook">
-    <name>xcap_xml</name>
-    <version>2</version>
+<table id="xcap" xmlns:db="http://docbook.org/ns/docbook">
+    <name>xcap</name>
+    <version>3</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>Table for the presence module. More information can be found at: &OPENSER_MOD_DOC;presence.html
@@ -42,9 +42,9 @@
     </column>
 
     <column>
-        <name>xcap</name>
+        <name>doc</name>
         <type>binary</type>
-        <description>xcap</description>
+        <description>doc</description>
     </column>
 
     <column id="doc_type">
@@ -61,6 +61,27 @@
         <description>Document Etag</description>
     </column>
 
+	<column id="source">
+        <name>source</name>
+        <type>int</type>
+        <size>11</size>
+        <description>Entity inserting the record</description>
+    </column>
+	
+	<column id="doc_uri">
+		<name>doc_uri</name>
+        <type>string</type>
+        <size>&uri_len;</size>
+        <description>Document uri</description>
+    </column>
+
+	<column id="port">
+		<name>port</name>
+        <type>int</type>
+        <size>11</size>
+        <description>XCAP server port</description>
+    </column>
+
     <index>
         <name>udd_xcap</name>
         <colref linkend="username"/>
@@ -68,4 +89,10 @@
         <colref linkend="doc_type"/>
         <unique/>
     </index>
+
+	<index>
+		<name>source_xcap</name>
+		<colref linkend="source"/>
+	</index>
+
 </table>