Sfoglia il codice sorgente

modules_s/avp_db: renamed to uid_avp_db

Daniel-Constantin Mierla 12 anni fa
parent
commit
a5daf1797f

+ 1 - 1
modules_s/avp_db/Makefile → modules_s/uid_avp_db/Makefile

@@ -7,7 +7,7 @@
 
 include ../../Makefile.defs
 auto_gen=
-NAME=avp_db.so
+NAME=uid_avp_db.so
 LIBS=
 DEFS += -Wall
 

+ 26 - 26
modules_s/avp_db/README → modules_s/uid_avp_db/README

@@ -1,11 +1,11 @@
-1. avp_db Module
+1. uid_avp_db Module
 
 Jiri Kuthan
 
    FhG FOKUS
    <[email protected]>
 
-   Copyright © 2004, 2005 FhG FOKUS
+   Copyright © 2004, 2005 FhG FOKUS
      __________________________________________________________________
 
    1.1. Overview
@@ -151,23 +151,23 @@ Jiri Kuthan
           be set.
 
    key_column
-          Column name holding key. Default value is “id�.
+          Column name holding key. Default value is "id".
 
    name_column
           Column name used for storing attribute name. Default value is
-          “name�.
+          "name".
 
    value_column
           Column name used for storing attribute value. Default value is
-          “value�.
+          "value".
 
    type_column
           Column name used for storing attribute type. Default value is
-          “type�.
+          "type".
 
    flags_column
           Column name used for storing attribute flags. Default value is
-          “flags�.
+          "flags".
 
    None defined by default.
 
@@ -188,7 +188,7 @@ mysql> describe dlg_attrs;
 +--------+------------------+------+-----+---------+-------+
 5 rows in set (0.00 sec)
 
-   Setting flags from code (all attrs beginning with “dlg_�):
+   Setting flags from code (all attrs beginning with "dlg_"):
 avpflags dialog_flag;
 ...
 route {
@@ -242,8 +242,8 @@ route {
    Loads 'extra attributes' stored by previous call to save_extra_attrs.
 
    group_id
-          Identifies attribute group, see Section 1.3.12, “attr_group
-          (string)�.
+          Identifies attribute group, see Section 1.3.12, "attr_group
+          (string)".
 
    id
           Identifies attributes which should be loaded.
@@ -253,8 +253,8 @@ route {
    Saves 'extra attributes' flagged by group flag under given id.
 
    group_id
-          Identifies attribute group, see Section 1.3.12, “attr_group
-          (string)�.
+          Identifies attribute group, see Section 1.3.12, "attr_group
+          (string)".
 
    id
           Identifier stored with flagged attributes.
@@ -264,8 +264,8 @@ route {
    Removes all extra attributes with given id.
 
    group_id
-          Identifies attribute group, see Section 1.3.12, “attr_group
-          (string)�.
+          Identifies attribute group, see Section 1.3.12, "attr_group
+          (string)".
 
    id
           Identifies attributes which should be removed.
@@ -276,8 +276,8 @@ route {
    id).
 
    group_id
-          Identifies attribute group, see Section 1.3.12, “attr_group
-          (string)�.
+          Identifies attribute group, see Section 1.3.12, "attr_group
+          (string)".
 
    id
           Identifies attributes which should be locked.
@@ -288,8 +288,8 @@ route {
    only id).
 
    group_id
-          Identifies attribute group, see Section 1.3.12, “attr_group
-          (string)�.
+          Identifies attribute group, see Section 1.3.12, "attr_group
+          (string)".
 
    id
           Identifies attributes which should be unlocked.
@@ -352,8 +352,8 @@ route["create_dialog"] {
 }
 
 onreply_route["dialog_creation_reply"] {
-        xplog("L_ERR", "dialog creation reply (%rs, %@cseq.method) [%@from.tag, %
[email protected]]\n");
+        xplog("L_ERR", "dialog creation reply (%rs, %@cseq.method) [%@from.tag,
+%@to.tag]\n");
 
         $res = @msg.response.code;
         xplog("L_ERR", " ... response: %$res\n");
@@ -362,8 +362,8 @@ onreply_route["dialog_creation_reply"] {
                 break;
         }
         if ($res < 101) {
-                xplog("L_ERR", " ... I won't create dialog from 100 response.\n")
-;
+                xplog("L_ERR", " ... I won't create dialog from 100 response.\n"
+);
                 break;
         }
 
@@ -539,8 +539,8 @@ route["trace_dialog"] {
 
 onreply_route["dialog_reply"] {
         if ($id) {
-                xplog("L_ERR", "In-dialog reply (%rs, %@cseq.method) [%@to.tag, %
[email protected]]\n");
+                xplog("L_ERR", "In-dialog reply (%rs, %@cseq.method) [%@to.tag,
+%@from.tag]\n");
                 if (!route("load_dialog")) {
                         xplog("L_ERR", "Can't load dialog data\n");
                 }
@@ -615,8 +615,8 @@ route {
                         t_on_reply("dialog_reply");
                 }
                 else {
-                        xplog("L_ERR", "Message within unknown dialog: %@cseq, to
-_tag=%@to.tag from_tag=%@from.tag\n");
+                        xplog("L_ERR", "Message within unknown dialog: %@cseq, t
+o_tag=%@to.tag from_tag=%@from.tag\n");
                 }
         }
 

+ 0 - 0
modules_s/avp_db/avp_db.xml → modules_s/uid_avp_db/avp_db.xml


+ 1 - 1
modules_s/avp_db/doc/Makefile → modules_s/uid_avp_db/doc/Makefile

@@ -1,4 +1,4 @@
-docs = avp_db.xml
+docs = uid_avp_db.xml
 
 docbook_dir=../../../docbook
 include $(docbook_dir)/Makefile.module

+ 0 - 0
modules_s/avp_db/doc/avp_dialogs.cfg → modules_s/uid_avp_db/doc/avp_dialogs.cfg


+ 0 - 0
modules_s/avp_db/doc/fifo.xml → modules_s/uid_avp_db/doc/fifo.xml


+ 0 - 0
modules_s/avp_db/doc/functions.xml → modules_s/uid_avp_db/doc/functions.xml


+ 0 - 0
modules_s/avp_db/doc/params.xml → modules_s/uid_avp_db/doc/params.xml


+ 1 - 1
modules_s/avp_db/doc/avp_db.xml → modules_s/uid_avp_db/doc/uid_avp_db.xml

@@ -4,7 +4,7 @@
 
 <section id="avp_db" xmlns:xi="http://www.w3.org/2001/XInclude">
     <sectioninfo>
-	<title>avp_db Module</title>
+	<title>uid_avp_db Module</title>
 	<authorgroup>
 	    <author>
 		<firstname>Jiri</firstname>

+ 1 - 1
modules_s/avp_db/extra_attrs.c → modules_s/uid_avp_db/extra_attrs.c

@@ -1,5 +1,5 @@
 #include "extra_attrs.h"
-#include "avp_db.h"
+#include "uid_avp_db.h"
 #include "../../usr_avp.h"
 #include "../../sr_module.h"
 #include "../../ut.h"

+ 0 - 0
modules_s/avp_db/extra_attrs.h → modules_s/uid_avp_db/extra_attrs.h


+ 2 - 2
modules_s/avp_db/avp_db.c → modules_s/uid_avp_db/uid_avp_db.c

@@ -46,7 +46,7 @@
 #include "../../ut.h"
 #include "../../id.h"
 #include "../domain/domain.h"
-#include "avp_db.h"
+#include "uid_avp_db.h"
 #include "extra_attrs.h"
 
 MODULE_VERSION
@@ -118,7 +118,7 @@ static param_export_t params[] = {
 
 
 struct module_exports exports = {
-    "avp_db",
+    "uid_avp_db",
     cmds,        /* Exported commands */
     0,           /* RPC methods */
     params,      /* Exported parameters */

+ 3 - 0
modules_s/avp_db/avp_db.h → modules_s/uid_avp_db/uid_avp_db.h

@@ -25,7 +25,10 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#ifndef UID_AVP_DB_H
+#define UID_AVP_DB_H
 #include "../../lib/srdb2/db.h"
 
 extern db_ctx_t* ctx;
 extern int auto_unlock;
+#endif