-struct rotation_channel_info {
- uint64_t session_id;
- struct rotation_channel_key channel_key;
- struct cds_lfht_node rotate_channels_ht_node;
-};
-
-extern struct cds_lfht *channel_pending_rotate_ht;
-
-unsigned long hash_channel_key(struct rotation_channel_key *key);
-
-/* session lock must be held by this function's caller. */
-int rename_complete_chunk(struct ltt_session *session, time_t ts);
+int subscribe_session_consumed_size_rotation(struct ltt_session *session,
+ uint64_t size,
+ struct notification_thread_handle *notification_thread_handle);
+int unsubscribe_session_consumed_size_rotation(struct ltt_session *session,
+ struct notification_thread_handle *notification_thread_handle);