struct urcu_ref ref;
- pthread_mutex_t lock;
+ mutable pthread_mutex_t lock;
/* major/minor version used for this session. */
uint32_t major;
int session_close(struct relay_session *session);
int session_abort(struct relay_session *session);
+bool session_has_ongoing_rotation(const struct relay_session *session);
+
void print_sessions(void);
#endif /* _SESSION_H */