- match the template of counterpart setblagsval
- swapped the parameters
... | ... |
@@ -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. |