]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
trunk: Document fail_bound
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 6 Mar 2020 23:42:51 +0000 (17:42 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 6 Mar 2020 23:42:51 +0000 (17:42 -0600)
src/lib/server/trunk.c

index 053e15da6abcf80bca219290eea6b39f2916da7c..19e410b584ffa9ba5b32fe91a265b87ff1acbc9d 100644 (file)
@@ -1453,9 +1453,11 @@ static uint64_t trunk_connection_requests_requeue(fr_trunk_connection_t *tconn,
  *      clean up a connection in this state when it's run on re-queue, and then the caller
  *      may try and access a now freed connection.
  *
- * @param[in] tconn    to move requests off of.
- * @param[in] states   Only move requests in this state.
- * @param[in] max      The maximum number of requests to dequeue. 0 for unlimited.
+ * @param[in] tconn            to move requests off of.
+ * @param[in] states           Only move requests in this state.
+ * @param[in] max              The maximum number of requests to dequeue. 0 for unlimited.
+ * @param[in] fail_bound       If true causes any requests bound to the connection to fail.
+ *                             If false bound requests will not be moved.
  * @return The number of requests requeued.
  */
 uint64_t fr_trunk_connection_requests_requeue(fr_trunk_connection_t *tconn, int states, uint64_t max, bool fail_bound)