Module: sip-router
Branch: master
Commit: 1a09692be74ef8c4f0dc56801bce6a2fb351536d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1a09692…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Sat Dec 22 12:26:29 2012 +0200
modules_k/domain: bind_domain api function takes one param
---
modules_k/domain/api.h | 2 +-
modules_k/domain/domain_mod.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/domain/api.h b/modules_k/domain/api.h
index a6d5ddf..777cea4 100644
--- a/modules_k/domain/api.h
+++ b/modules_k/domain/api.h
@@ -32,7 +32,7 @@ typedef struct domain_api {
} domain_api_t;
typedef int (*bind_domain_t)(domain_api_t* api);
-int bind_domain(domain_api_t* api);
+extern int bind_domain(domain_api_t* api);
#endif
diff --git a/modules_k/domain/domain_mod.c b/modules_k/domain/domain_mod.c
index 507f873..961ded2 100644
--- a/modules_k/domain/domain_mod.c
+++ b/modules_k/domain/domain_mod.c
@@ -128,7 +128,7 @@ static cmd_export_t cmds[] = {
{"lookup_domain", (cmd_function)w_lookup_domain, 2, fixup_pvar_str,
fixup_free_pvar_str,
REQUEST_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
- {"bind_domain", (cmd_function)bind_domain, 0, 0, 0, 0},
+ {"bind_domain", (cmd_function)bind_domain, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0}
};