1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#pragma once
#if !defined(CTR_LOGGING_H)
#define CTR_LOGGING_H
#include "utils.h" /* stdpipe_t */
#include <stdbool.h> /* bool */
void reopen_log_files(void);
bool write_to_logs(stdpipe_t pipe, char *buf, ssize_t num_read);
void configure_log_drivers(gchar **log_drivers, int64_t log_size_max_, int64_t log_global_size_max_, char *cuuid_, char *name_, char *tag);
void sync_logs(void);
gboolean logging_is_passthrough(void);
void close_logging_fds(void);
#endif /* !defined(CTR_LOGGING_H) */
|