Browse code

core: renamed getbflsgs to getblagsval

- match the template of counterpart setblagsval
- swapped the parameters

Daniel-Constantin Mierla authored on 28/04/2009 17:21:04
Showing 2 changed files
... ...
@@ -126,7 +126,7 @@ int resetbflag(unsigned int branch, flag_t flag)
126 126
 }
127 127
 
128 128
 
129
-int getbflags(flag_t* res, unsigned int branch)
129
+int getbflagsval(unsigned int branch, flag_t* res)
130 130
 {
131 131
 	flag_t* flags;
132 132
 	if (res == NULL) return -1;
... ...
@@ -126,11 +126,11 @@ int isbflagset(unsigned int branch, flag_t flag);
126 126
  *
127 127
  * This function returns the value of all branch flags
128 128
  * combined in a single variable.
129
- * @param res A pointer to a variable to store the result
130 129
  * @param branch Number of the branch (0 for the main Request-URI branch)
130
+ * @param res A pointer to a variable to store the result
131 131
  * @return 1 on success, -1 on failure
132 132
  */
133
-int getbflags(flag_t* res, unsigned int branch);
133
+int getbflagsval(unsigned int branch, flag_t* res);
134 134
 
135 135
 /**
136 136
  * Set the value of all branch flags at once for a given branch.