X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fsessiond-trace-chunks.h;h=f2bc5a3825163780412dfdb51165969697f44eec;hp=c62fd3e6fe8e1071b5a798b0699aca3be556bc32;hb=HEAD;hpb=6b584c2ece62c620a86cf438bb358a9da7962b7e diff --git a/src/bin/lttng-relayd/sessiond-trace-chunks.h b/src/bin/lttng-relayd/sessiond-trace-chunks.h deleted file mode 100644 index c62fd3e6f..000000000 --- a/src/bin/lttng-relayd/sessiond-trace-chunks.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2019 - Jérémie Galarneau - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef SESSIOND_TRACE_CHUNK_REGISTRY_H -#define SESSIOND_TRACE_CHUNK_REGISTRY_H - -#include -#include -#include - -struct sessiond_trace_chunk_registry; - -struct sessiond_trace_chunk_registry * -sessiond_trace_chunk_registry_create(void); - -void sessiond_trace_chunk_registry_destroy( - struct sessiond_trace_chunk_registry *sessiond_registry); - -int sessiond_trace_chunk_registry_session_created( - struct sessiond_trace_chunk_registry *sessiond_registry, - const lttng_uuid sessiond_uuid); - -int sessiond_trace_chunk_registry_session_destroyed( - struct sessiond_trace_chunk_registry *sessiond_registry, - const lttng_uuid sessiond_uuid); - -struct lttng_trace_chunk *sessiond_trace_chunk_registry_publish_chunk( - struct sessiond_trace_chunk_registry *sessiond_registry, - const lttng_uuid sessiond_uuid, uint64_t session_id, - struct lttng_trace_chunk *chunk); - -struct lttng_trace_chunk * -sessiond_trace_chunk_registry_get_anonymous_chunk( - struct sessiond_trace_chunk_registry *sessiond_registry, - const lttng_uuid sessiond_uuid, - uint64_t session_id); - -struct lttng_trace_chunk * -sessiond_trace_chunk_registry_get_chunk( - struct sessiond_trace_chunk_registry *sessiond_registry, - const lttng_uuid sessiond_uuid, - uint64_t session_id, uint64_t chunk_id); - -int sessiond_trace_chunk_registry_chunk_exists( - struct sessiond_trace_chunk_registry *sessiond_registry, - const lttng_uuid sessiond_uuid, - uint64_t session_id, uint64_t chunk_id, bool *chunk_exists); - -#endif /* SESSIOND_TRACE_CHUNK_REGISTRY_H */