21 lines
429 B
C
Executable File
21 lines
429 B
C
Executable File
#ifndef __LOG_H
|
|
#define __LOG_H
|
|
|
|
#include <linux/limits.h>
|
|
#include "common_types.h"
|
|
#include "rpc_common.h"
|
|
|
|
|
|
typedef struct _log_file {
|
|
u8 level;
|
|
char path[PATH_MAX];
|
|
u32 compress_over_days;
|
|
u32 del_over_days;
|
|
u64 compress_over_size;
|
|
u64 del_over_size;
|
|
} log_file_t;
|
|
|
|
int conf_log_file(rpc_conn *conn, pointer input, int input_len, pointer data);
|
|
|
|
#endif
|