*/
enum bt_btr_status {
/** Out of memory. */
- BT_BTR_STATUS_ENOMEM = -5,
+ BT_BTR_STATUS_ENOMEM = -5,
/**
* The binary stream reader reached the end of the user-provided
* buffer, but data is still needed to finish decoding the
BT_BTR_STATUS_EOF = 1,
/** Invalid argument. */
- BT_BTR_STATUS_INVAL = -3,
+ BT_BTR_STATUS_INVAL = -3,
/** General error. */
- BT_BTR_STATUS_ERROR = -1,
+ BT_BTR_STATUS_ERROR = -1,
/** Everything okay. */
BT_BTR_STATUS_OK = 0,
* @returns Current selected type (owned by
* this) or \c NULL on error
*/
- struct bt_field_type * (* get_variant_type)(
+ struct bt_field_type * (* borrow_variant_field_type)(
struct bt_field_type *type, void *data);
} query;
};