Module: sip-router
Branch: master
Commit: e4eb153efa0e2d0c6e1478fbe664df87aa93c7ec
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e4eb153…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Dec 21 19:38:51 2012 +0100
modules_s/domain: renamed to uid_domain
---
modules_s/{domain => uid_domain}/Makefile | 2 +-
modules_s/{domain => uid_domain}/README | 4 ++--
modules_s/{domain => uid_domain}/doc/Makefile | 2 +-
.../{domain => uid_domain}/doc/domain_api.xml | 0
modules_s/{domain => uid_domain}/doc/fifo.xml | 0
modules_s/{domain => uid_domain}/doc/functions.xml | 0
modules_s/{domain => uid_domain}/doc/params.xml | 0
.../domain.xml => uid_domain/doc/uid_domain.xml} | 2 +-
modules_s/{domain => uid_domain}/domain.c | 2 +-
modules_s/{domain => uid_domain}/domain.h | 0
modules_s/{domain => uid_domain}/domain_api.c | 0
modules_s/{domain => uid_domain}/domain_api.h | 0
modules_s/{domain => uid_domain}/domain_rpc.c | 2 +-
modules_s/{domain => uid_domain}/domain_rpc.h | 0
modules_s/{domain => uid_domain}/hash.c | 2 +-
modules_s/{domain => uid_domain}/hash.h | 2 +-
modules_s/{domain => uid_domain}/ser-domain.cfg | 0
.../domain_mod.c => uid_domain/uid_domain_mod.c} | 8 ++++----
.../domain_mod.h => uid_domain/uid_domain_mod.h} | 4 ++--
19 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/modules_s/domain/Makefile b/modules_s/uid_domain/Makefile
similarity index 94%
rename from modules_s/domain/Makefile
rename to modules_s/uid_domain/Makefile
index 23982c7..f730b73 100644
--- a/modules_s/domain/Makefile
+++ b/modules_s/uid_domain/Makefile
@@ -7,7 +7,7 @@
include ../../Makefile.defs
auto_gen=
-NAME=domain.so
+NAME=uid_domain.so
LIBS=
DEFS+=-DSER_MOD_INTERFACE
diff --git a/modules_s/domain/README b/modules_s/uid_domain/README
similarity index 99%
rename from modules_s/domain/README
rename to modules_s/uid_domain/README
index 65e84ca..1d7945e 100644
--- a/modules_s/domain/README
+++ b/modules_s/uid_domain/README
@@ -1,10 +1,10 @@
-1. Domain Module
+1. UID Domain Module
Juha Heinanen
<jh(a)tutpro.com>
- Copyright © 2002-2010 Juha Heinanen
+ Copyright � 2002-2010 Juha Heinanen
__________________________________________________________________
1.1. Overview
diff --git a/modules_s/domain/doc/Makefile b/modules_s/uid_domain/doc/Makefile
similarity index 75%
rename from modules_s/domain/doc/Makefile
rename to modules_s/uid_domain/doc/Makefile
index f906745..e9ec998 100644
--- a/modules_s/domain/doc/Makefile
+++ b/modules_s/uid_domain/doc/Makefile
@@ -1,4 +1,4 @@
-docs = domain.xml
+docs = uid_domain.xml
docbook_dir=../../../docbook
include $(docbook_dir)/Makefile.module
diff --git a/modules_s/domain/doc/domain_api.xml
b/modules_s/uid_domain/doc/domain_api.xml
similarity index 100%
rename from modules_s/domain/doc/domain_api.xml
rename to modules_s/uid_domain/doc/domain_api.xml
diff --git a/modules_s/domain/doc/fifo.xml b/modules_s/uid_domain/doc/fifo.xml
similarity index 100%
rename from modules_s/domain/doc/fifo.xml
rename to modules_s/uid_domain/doc/fifo.xml
diff --git a/modules_s/domain/doc/functions.xml b/modules_s/uid_domain/doc/functions.xml
similarity index 100%
rename from modules_s/domain/doc/functions.xml
rename to modules_s/uid_domain/doc/functions.xml
diff --git a/modules_s/domain/doc/params.xml b/modules_s/uid_domain/doc/params.xml
similarity index 100%
rename from modules_s/domain/doc/params.xml
rename to modules_s/uid_domain/doc/params.xml
diff --git a/modules_s/domain/doc/domain.xml b/modules_s/uid_domain/doc/uid_domain.xml
similarity index 99%
rename from modules_s/domain/doc/domain.xml
rename to modules_s/uid_domain/doc/uid_domain.xml
index 0e2169e..075edea 100644
--- a/modules_s/domain/doc/domain.xml
+++ b/modules_s/uid_domain/doc/uid_domain.xml
@@ -17,7 +17,7 @@
</copyright>
</sectioninfo>
- <title>Domain Module</title>
+ <title>UID Domain Module</title>
<section id="domain.overview">
<title>Overview</title>
diff --git a/modules_s/domain/domain.c b/modules_s/uid_domain/domain.c
similarity index 99%
rename from modules_s/domain/domain.c
rename to modules_s/uid_domain/domain.c
index 4abfc3c..a8d168d 100644
--- a/modules_s/domain/domain.c
+++ b/modules_s/uid_domain/domain.c
@@ -21,7 +21,7 @@
*/
#include <string.h>
-#include "domain_mod.h"
+#include "uid_domain_mod.h"
#include "hash.h"
#include "../../dprint.h"
#include "../../mem/shm_mem.h"
diff --git a/modules_s/domain/domain.h b/modules_s/uid_domain/domain.h
similarity index 100%
rename from modules_s/domain/domain.h
rename to modules_s/uid_domain/domain.h
diff --git a/modules_s/domain/domain_api.c b/modules_s/uid_domain/domain_api.c
similarity index 100%
rename from modules_s/domain/domain_api.c
rename to modules_s/uid_domain/domain_api.c
diff --git a/modules_s/domain/domain_api.h b/modules_s/uid_domain/domain_api.h
similarity index 100%
rename from modules_s/domain/domain_api.h
rename to modules_s/uid_domain/domain_api.h
diff --git a/modules_s/domain/domain_rpc.c b/modules_s/uid_domain/domain_rpc.c
similarity index 99%
rename from modules_s/domain/domain_rpc.c
rename to modules_s/uid_domain/domain_rpc.c
index 719cb85..6cf9e3a 100644
--- a/modules_s/domain/domain_rpc.c
+++ b/modules_s/uid_domain/domain_rpc.c
@@ -25,7 +25,7 @@
#include "../../ut.h"
#include "../../mem/mem.h"
#include "hash.h"
-#include "domain_mod.h"
+#include "uid_domain_mod.h"
#include "domain_rpc.h"
diff --git a/modules_s/domain/domain_rpc.h b/modules_s/uid_domain/domain_rpc.h
similarity index 100%
rename from modules_s/domain/domain_rpc.h
rename to modules_s/uid_domain/domain_rpc.h
diff --git a/modules_s/domain/hash.c b/modules_s/uid_domain/hash.c
similarity index 99%
rename from modules_s/domain/hash.c
rename to modules_s/uid_domain/hash.c
index c94dce1..7775277 100644
--- a/modules_s/domain/hash.c
+++ b/modules_s/uid_domain/hash.c
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include "domain_mod.h"
+#include "uid_domain_mod.h"
#include "../../dprint.h"
#include "../../mem/shm_mem.h"
#include "../../ut.h"
diff --git a/modules_s/domain/hash.h b/modules_s/uid_domain/hash.h
similarity index 98%
rename from modules_s/domain/hash.h
rename to modules_s/uid_domain/hash.h
index e4e82ab..fe150f2 100644
--- a/modules_s/domain/hash.h
+++ b/modules_s/uid_domain/hash.h
@@ -24,7 +24,7 @@
#define _HASH_H
#include <stdio.h>
-#include "domain_mod.h"
+#include "uid_domain_mod.h"
#include "domain.h"
#define HASH_SIZE 128
diff --git a/modules_s/domain/ser-domain.cfg b/modules_s/uid_domain/ser-domain.cfg
similarity index 100%
rename from modules_s/domain/ser-domain.cfg
rename to modules_s/uid_domain/ser-domain.cfg
diff --git a/modules_s/domain/domain_mod.c b/modules_s/uid_domain/uid_domain_mod.c
similarity index 99%
rename from modules_s/domain/domain_mod.c
rename to modules_s/uid_domain/uid_domain_mod.c
index 5eca473..4a0761e 100644
--- a/modules_s/domain/domain_mod.c
+++ b/modules_s/uid_domain/uid_domain_mod.c
@@ -29,7 +29,7 @@
* calls to domain_db_{bind,init,close,ver} (andrei)
*/
-#include "domain_mod.h"
+#include "uid_domain_mod.h"
#include <stdio.h>
#include "../../mem/shm_mem.h"
#include "../../mem/mem.h"
@@ -66,12 +66,12 @@ MODULE_VERSION
#define DOMAIN_TABLE_VERSION 2
#define DOMATTR_TABLE_VERSION 1
-#define DOMAIN_TABLE "domain"
+#define DOMAIN_TABLE "uid_domain"
#define DOMAIN_COL "domain"
#define DID_COL "did"
#define FLAGS_COL "flags"
-#define DOMATTR_TABLE "domain_attrs"
+#define DOMATTR_TABLE "uid_domain_attrs"
#define DOMATTR_DID "did"
#define DOMATTR_NAME "name"
#define DOMATTR_TYPE "type"
@@ -155,7 +155,7 @@ static param_export_t params[] = {
* Module interface
*/
struct module_exports exports = {
- "domain",
+ "uid_domain",
cmds, /* Exported functions */
domain_rpc, /* RPC methods */
params, /* Exported parameters */
diff --git a/modules_s/domain/domain_mod.h b/modules_s/uid_domain/uid_domain_mod.h
similarity index 97%
rename from modules_s/domain/domain_mod.h
rename to modules_s/uid_domain/uid_domain_mod.h
index ca7fe83..fb7a479 100644
--- a/modules_s/domain/domain_mod.h
+++ b/modules_s/uid_domain/uid_domain_mod.h
@@ -20,8 +20,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef _DOMAIN_MOD_H
-#define _DOMAIN_MOD_H
+#ifndef _UID_DOMAIN_MOD_H
+#define _UID_DOMAIN_MOD_H
#include "../../lib/srdb2/db.h"
#include "../../str.h"