yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /*
|
| 2 | *
|
| 3 | * Copyright (C) 2023
|
| 4 | *
|
| 5 | * This program is free software; you can redistribute it and/or modify
|
| 6 | * it under the terms of the GNU General Public License as published by
|
| 7 | * the Free Software Foundation; either version 2 of the License, or
|
| 8 | * (at your option) any later version.
|
| 9 | *
|
| 10 | * This program is distributed in the hope that it will be useful,
|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 13 | * GNU General Public License for more details
|
| 14 | *
|
| 15 | * FileName : log_savefsf.h
|
| 16 | * This program Capture module's trace log to local file system.
|
| 17 | */
|
| 18 |
|
| 19 | #ifndef __LOG_SAVEFS_H__
|
| 20 | #define __LOG_SAVEFS_H__
|
| 21 |
|
| 22 | #include <stdio.h>
|
| 23 | #include <stdlib.h>
|
| 24 | #include <stdint.h>
|
| 25 | #include <string.h>
|
| 26 |
|
| 27 | /**
|
| 28 | * ºê¶¨Òå
|
| 29 | */
|
| 30 | #define ZLOG_RULE_MAX_SIZE 2048
|
| 31 | #define READ_WRITE_BUF_SIZE 4096
|
| 32 |
|
| 33 | typedef struct
|
| 34 | {
|
| 35 | char *name;
|
| 36 | char *buf;
|
| 37 | int len;
|
| 38 | }T_LOG_RULE_TYPE;
|
| 39 |
|
| 40 |
|
| 41 | #endif
|
| 42 |
|