github.com/cptmikhailov/conmon@v2.0.20+incompatible/src/ctr_logging.h (about) 1 #pragma once 2 #if !defined(CTR_LOGGING_H) 3 #define CTR_LOGGING_H 4 5 #include "utils.h" /* stdpipe_t */ 6 #include <stdbool.h> /* bool */ 7 8 void reopen_log_files(void); 9 bool write_to_logs(stdpipe_t pipe, char *buf, ssize_t num_read); 10 void configure_log_drivers(gchar **log_drivers, int64_t log_size_max_, char *cuuid_, char *name_, char *tag); 11 void sync_logs(void); 12 13 #endif /* !defined(CTR_LOGGING_H) */