X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fsnapshot-internal.h;fp=include%2Flttng%2Fsnapshot-internal.h;h=0000000000000000000000000000000000000000;hp=78c741349c750a0c1ae81a61b7aa4764fec86698;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/include/lttng/snapshot-internal.h b/include/lttng/snapshot-internal.h deleted file mode 100644 index 78c741349..000000000 --- a/include/lttng/snapshot-internal.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2013 David Goulet - * - * SPDX-License-Identifier: LGPL-2.1-only - * - */ - -#ifndef LTTNG_SNAPSHOT_INTERNAL_ABI_H -#define LTTNG_SNAPSHOT_INTERNAL_ABI_H - -#include -#include -#include -#include - -/* - * Object used for the snapshot API. This is opaque to the public library. - */ -struct lttng_snapshot_output { - /* - * ID of the snapshot output. This is only used when they are listed. It is - * assigned by the session daemon so when adding an output, this value will - * not be used. - */ - uint32_t id; - /* - * Maximum size in bytes of the snapshot meaning the total size of all - * stream combined. A value of 0 is unlimited. - */ - uint64_t max_size; - /* Name of the output so it can be recognized easily when listing them. */ - char name[LTTNG_NAME_MAX]; - /* Destination of the output. See lttng(1) for URL format. */ - char ctrl_url[PATH_MAX]; - /* Destination of the output. See lttng(1) for URL format. */ - char data_url[PATH_MAX]; -} LTTNG_PACKED; - -/* - * Snapshot output list object opaque to the user. - */ -struct lttng_snapshot_output_list { - /* - * The position in the output array. This is changed by a get_next call. - */ - int index; - - /* - * Number of element in the array. - */ - size_t count; - - /* - * Contains snapshot output object. - */ - struct lttng_snapshot_output *array; -}; - -#endif /* LTTNG_SNAPSHOT_INTERNAL_ABI_H */