}
/** Setup a cursor to iterate over attribute pairs
- *
- * @addtogroup module_safe
*
* @param cursor Where to initialise the cursor (uses existing structure).
* @param const_vp to start from.
}
/** Copy a cursor
- *
- * @addtogroup module_safe
*
* @param in Cursor to copy.
* @param out Where to copy the cursor to.
}
/** Rewind cursor to the start of the list
- *
- * @addtogroup module_safe
*
* @param cursor to operate on.
* @return the VALUE_PAIR at the start of the list.
}
/** Wind cursor to the last pair in the list
- *
- * @addtogroup module_safe
*
* @param cursor to operate on.
* @return the VALUE_PAIR at the end of the list.
* fr_cursor_next_by_* functions will start the search from the previously
* matched attribute.
*
- * @addtogroup module_safe
- *
* @param cursor to operate on.
* @param attr number to match.
* @param vendor number to match (0 for none vendor attribute).
*
* @note DICT_ATTR pointers are compared, not the attribute numbers and vendors.
*
- * @addtogroup module_safe
- *
* @param cursor to operate on.
* @param da to match.
* @param tag to match. Either a tag number or TAG_ANY to match any tagged or
}
/** Advanced the cursor to the next VALUE_PAIR
- *
- * @addtogroup module_safe
*
* @param cursor to operate on.
* @return the next VALUE_PAIR, or NULL if no more VALUE_PAIRS in the collection.
}
/** Return the next VALUE_PAIR without advancing the cursor
- *
- * @addtogroup module_safe
*
* @param cursor to operate on.
* @return the next VALUE_PAIR, or NULL if no more VALUE_PAIRS in the collection.
}
/** Return the VALUE_PAIR the cursor current points to
- *
- * @addtogroup module_safe
*
* @param cursor to operate on.
* @return the VALUE_PAIR the cursor currently points to.
*
* Insert a VALUE_PAIR at the end of the list.
*
- * @addtogroup module_safe
- *
* @param cursor to operate on.
* @param vp to insert.
*/
*
* Add multiple VALUE_PAIR from add to cursor.
*
- * @addtogroup module_safe
- *
* @param cursor to insert VALUE_PAIRs with
* @param add one or more VALUE_PAIRs (may be NULL, which results in noop).
*/
}
@endcode
*
- * @addtogroup module_safe
- *
* @param cursor to remove the current pair from.
* @return NULL on error, else the VALUE_PAIR that was just removed.
*/
*
* @todo this is really inefficient and should be fixed...
*
- * @addtogroup module_safe
- *
* @param cursor to replace the current pair in.
* @param new VALUE_PAIR to insert.
* @return NULL on error, else the VALUE_PAIR we just replaced.