/* | |
* | |
* Copyright (C) 2023 | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
* GNU General Public License for more details | |
* | |
* FileName : log_savefsf.h | |
* This program Capture module's trace log to local file system. | |
*/ | |
#ifndef __LOG_SAVEFS_H__ | |
#define __LOG_SAVEFS_H__ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
/** | |
* ºê¶¨Òå | |
*/ | |
#define ZLOG_RULE_MAX_SIZE 2048 | |
#define READ_WRITE_BUF_SIZE 4096 | |
typedef struct | |
{ | |
char *name; | |
char *buf; | |
int len; | |
}T_LOG_RULE_TYPE; | |
#endif | |