* @param[in] parent of the VSA attribute.
* @param[in] vendor id.
* @return
- * - 0 on success.
- * - -1 on failure.
+ * - An fr_dict_attr_t on success.
+ * - NULL on failure.
*/
fr_dict_attr_t *fr_dict_unknown_vendor_afrom_num(TALLOC_CTX *ctx,
fr_dict_attr_t const *parent, unsigned int vendor)
* @param[in] parent of the unknown attribute (may also be unknown).
* @param[in] num of the unknown attribute.
* @return
- * - 0 on success.
- * - -1 on failure.
+ * - An fr_dict_attr_t on success.
+ * - NULL on failure.
*/
fr_dict_attr_t *fr_dict_unknown_tlv_afrom_num(TALLOC_CTX *ctx, fr_dict_attr_t const *parent, unsigned int num)
{
* @param[in] parent of the unknown attribute (may also be unknown).
* @param[in] num of the unknown attribute.
* @return
- * - 0 on success.
- * - -1 on failure.
+ * - An fr_dict_attr_t on success.
+ * - NULL on failure.
*/
fr_dict_attr_t *fr_dict_unknown_attr_afrom_num(TALLOC_CTX *ctx, fr_dict_attr_t const *parent, unsigned int num)
{
*
* @param[in] ctx to allocate attribute in.
* @return
- * - 0 on success.
- * - -1 on failure (memory allocation error).
+ * - A new, partially completed, fr_dict_attr_t on success.
+ * - NULL on failure (memory allocation error).
*/
fr_dict_attr_t *dict_attr_alloc_null(TALLOC_CTX *ctx)
{