8#ifndef LTTNG_DESTRUCTION_HANDLE_H
9#define LTTNG_DESTRUCTION_HANDLE_H
11#include <lttng/lttng-error.h>
12#include <lttng/lttng-export.h>
13#include <lttng/rotation.h>
207 enum lttng_rotation_state *rotation_state);
257 const struct lttng_trace_archive_location **location);
lttng_error_code
General error codes.
Definition lttng-error.h:49
lttng_destruction_handle_status
Return type of recording session destruction handle fuctions.
Definition destruction-handle.h:38
enum lttng_destruction_handle_status lttng_destruction_handle_get_rotation_state(const struct lttng_destruction_handle *handle, enum lttng_rotation_state *rotation_state)
Sets *rotation_state to the state of a final rotation operation which the destruction of the recordin...
void lttng_destruction_handle_destroy(struct lttng_destruction_handle *handle)
Destroys the recording session destruction handle handle.
enum lttng_destruction_handle_status lttng_destruction_handle_get_archive_location(const struct lttng_destruction_handle *handle, const struct lttng_trace_archive_location **location)
Sets *location to the location of the final trace chunk archive which the destruction of the recordin...
enum lttng_destruction_handle_status lttng_destruction_handle_get_result(const struct lttng_destruction_handle *handle, enum lttng_error_code *result)
Sets *result to the result of the recording session destruction operation identified by handle.
enum lttng_destruction_handle_status lttng_destruction_handle_wait_for_completion(struct lttng_destruction_handle *handle, int timeout_ms)
Waits for the recording session destruction operation identified by handle to complete.
@ LTTNG_DESTRUCTION_HANDLE_STATUS_OK
Success.
Definition destruction-handle.h:40
@ LTTNG_DESTRUCTION_HANDLE_STATUS_COMPLETED
Recording session destruction operation completed.
Definition destruction-handle.h:43
@ LTTNG_DESTRUCTION_HANDLE_STATUS_INVALID
Unsatisfied precondition.
Definition destruction-handle.h:49
@ LTTNG_DESTRUCTION_HANDLE_STATUS_TIMEOUT
Timeout reached.
Definition destruction-handle.h:46
@ LTTNG_DESTRUCTION_HANDLE_STATUS_ERROR
Other error.
Definition destruction-handle.h:52
Recording session destruction handle (opaque type).