Module: sip-router
Branch: master
Commit: d02a166db83db71b587cd1252db0b4d4954e8c93
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d02a166…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 28 19:21:04 2009 +0200
core: renamed getbflsgs to getblagsval
- match the template of counterpart setblagsval
- swapped the parameters
---
dset.c | 2 +-
dset.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dset.c b/dset.c
index cbc636b..9409557 100644
--- a/dset.c
+++ b/dset.c
@@ -126,7 +126,7 @@ int resetbflag(unsigned int branch, flag_t flag)
}
-int getbflags(flag_t* res, unsigned int branch)
+int getbflagsval(unsigned int branch, flag_t* res)
{
flag_t* flags;
if (res == NULL) return -1;
diff --git a/dset.h b/dset.h
index e350238..adba10e 100644
--- a/dset.h
+++ b/dset.h
@@ -126,11 +126,11 @@ int isbflagset(unsigned int branch, flag_t flag);
*
* This function returns the value of all branch flags
* combined in a single variable.
- * @param res A pointer to a variable to store the result
* @param branch Number of the branch (0 for the main Request-URI branch)
+ * @param res A pointer to a variable to store the result
* @return 1 on success, -1 on failure
*/
-int getbflags(flag_t* res, unsigned int branch);
+int getbflagsval(unsigned int branch, flag_t* res);
/**
* Set the value of all branch flags at once for a given branch.