*
* @param bio the binary IO handler
* @param verify the verification function
+ * @param verify_ctx to pass to the verification function
* @param datagram whether or not this bio is a datagram one.
* @return
* - <0 on error
*
* @param[in] _name of the CONF_PAIR to search for.
* @param[in] _type to parse the CONF_PAIR as.
- * @param[in] _flags controlling parsing behaviour.
* @param[in] _struct containing the field to write the result to.
* @param[in] _field to write the result to.
*/
/** conf_parser_t which populates a sub-struct using a CONF_SECTION
*
- * @param[in] _name of the CONF_SECTION to search for.
* @param[in] _struct containing the sub-struct to populate.
* @param[in] _field containing the sub-struct to populate.
* @param[in] _subcs conf_parser_t to include in-line in this section
* @param[in] uctx User data to pass to the alloc function.
* @param[in] delay_start If true, then we will not spawn any connections
* until the first request is enqueued.
+ * @param[in] trigger_args Pairs to pass to trigger requests, if triggers are enabled.
* @return
* - New trunk handle on success.
* - NULL on error.
* @note Sets stack->scratch to be the the result of the frame being popped.
*
* @param[in] request The current request.
+ * @param[in] frame The current stack frame.
+ * @param[in] result from the previous action.
* @return
* - UNLANG_FRAME_ACTION_NEXT evaluate more instructions.
* - UNLANG_FRAME_ACTION_POP the final result has been calculated for this frame.
return path;
}
-/** Get the filename from a path
+/** Trim a common prefix from a filename
*
* @param path to get filename from.
+ * @param common prefix to trim from the path.
* @return
- * - pointer to the filename in the path.
- * - pointer to the path if no '/' is found.
+ * - pointer to the position on the path where the common prefix match ended.
*/
char const *fr_filename_common_trim(char const *path, char const *common)
{
* @param[in,out] ev_p If not NULL modify this event instead of creating a new one. This is a parent
* in a temporal sense, not in a memory structure or dependency sense.
* @param[in] delta In how many nanoseconds to wait before should we execute the event.
+ * @param[in] free_on_fire Whether event memory should be freed if the event fires.
* @param[in] callback function to execute if the event fires.
* @param[in] uctx user data to pass to the event.
* @return
* LDAP directory servers out there.
*
* @param[in] ctx in which to allocate the query.
+ * @param[in] p_result Where rcode from running the query will be written.
* @param[in] inst rlm_ldap configuration.
* @param[in] request Current request.
* @param[in] base DN to search in.
* @param request The current request
* @param name Group name to be searched
* @param env Group check xlat call_env
+ * @param t Winbind thread structure
*
* @return
* - 0 user is in group
* @param[in] parent Parent attribute. This should be the root of the dictionary
* we're using to decode DER data initially, and then nested children.
* @param[in] in The DER encoded data.
+ * @param[in] allowed_chars Optional array indicating which ASCII characters are allowed.
* @param[in] decode_ctx Any decode specific data.
* @return
* - > 0 on success. How many bytes were decoded.
* we're using to decode DER data. This only specifies structures
* like SEQUENCES. OID based pairs are resolved using the global
* dictionary tree.
+ * @param[in] data to decode.
+ * @param[in] data_len Length of data.
+ * @param[in] decode_ctx to pass to decode function.
*
*/
static ssize_t decode_pair(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data,