relayd: Extend relayd get configuration command to check for trace format support
[lttng-tools.git] / src / common / relayd / relayd.hpp
index d4a903aceaf26e6682b7e26a354073411750abcc..c0dcf5aca71d5d84c73b3effaeff3060feda6f33 100644 (file)
@@ -34,7 +34,7 @@ int relayd_create_session(struct lttcomm_relayd_sock *rsock,
                const char *session_name, const char *hostname,
                const char *base_path, int session_live_timer,
                unsigned int snapshot, uint64_t sessiond_session_id,
-               const lttng_uuid sessiond_uuid,
+               const lttng_uuid& sessiond_uuid,
                const uint64_t *current_chunk_id,
                time_t creation_time, bool session_name_contains_creation_time,
                char *output_path);
@@ -68,13 +68,13 @@ int relayd_rotate_streams(struct lttcomm_relayd_sock *sock,
                const struct relayd_stream_rotation_position *positions);
 int relayd_create_trace_chunk(struct lttcomm_relayd_sock *sock,
                struct lttng_trace_chunk *chunk);
-int relayd_close_trace_chunk(struct lttcomm_relayd_sock *sock,
-               struct lttng_trace_chunk *chunk,
-               char *path);
-int relayd_trace_chunk_exists(struct lttcomm_relayd_sock *sock,
-               uint64_t chunk_id, bool *chunk_exists);
-int relayd_get_configuration(struct lttcomm_relayd_sock *sock,
+int relayd_close_trace_chunk(
+               struct lttcomm_relayd_sock *sock, struct lttng_trace_chunk *chunk, char *path);
+int relayd_trace_chunk_exists(
+               struct lttcomm_relayd_sock *sock, uint64_t chunk_id, bool *chunk_exists);
+enum lttng_error_code relayd_get_configuration(struct lttcomm_relayd_sock *sock,
                uint64_t query_flags,
-               uint64_t *result_flags);
+               uint64_t& result_flags,
+               uint64_t *supported_trace_format);
 
 #endif /* _RELAYD_H */
This page took 0.027598 seconds and 5 git commands to generate.