extern enum bt_component_status bt_component_set_error_stream(
struct bt_component *component, FILE *error_stream);
-/**
- * Increments the reference count of \p component.
- *
- * @param component Component of which to increment the reference count
- *
- * @see bt_component_put()
- */
-extern void bt_component_get(struct bt_component *component);
-
-/**
- * Decrements the reference count of \p component, destroying it when this
- * count reaches 0.
- *
- * @param component Component of which to decrement the reference count
- *
- * @see bt_component_get()
- */
-extern void bt_component_put(struct bt_component *component);
-
#ifdef __cplusplus
}
#endif
* @param iterator Iterator instance
* @returns Returns a bt_notification instance
*
- * @see bt_notification_put()
+ * @see bt_put()
*/
extern struct bt_notification *bt_notification_iterator_get_notification(
struct bt_notification_iterator *iterator);
extern enum bt_notification_type bt_notification_get_type(
struct bt_notification *notification);
-/**
- * Increments the reference count of \p notification.
- *
- * @param notification Notification of which to increment the reference count
- *
- * @see bt_notification_put()
- */
-extern void bt_notification_get(struct bt_notification *notification);
-
-/**
- * Decrements the reference count of \p notification, destroying it when this
- * count reaches 0.
- *
- * @param notification Notification of which to decrement the reference count
- *
- * @see bt_notification_get()
- */
-extern void bt_notification_put(
- struct bt_notification *notification);
-
#ifdef __cplusplus
}
#endif
struct bt_notification_iterator *iterator, void *data);
/**
- * Gett an iterator's private data.
+ * Get an iterator's private data.
*
* @param iterator Notification iterator instance
* @returns Iterator instance private data