|
|
| version 1.1.1.1, 2013/07/22 08:44:29 | version 1.1.1.2, 2021/03/17 00:39:23 |
|---|---|
| Line 14 | Line 14 |
| #ifndef _LG_H_ | #ifndef _LG_H_ |
| #define _LG_H_ | #define _LG_H_ |
| #include "mbuf.h" | |
| #include <stdio.h> | |
| /* | /* |
| * DEFINITIONS | * DEFINITIONS |
| */ | */ |
| Line 147 | Line 151 |
| extern void LogPrintf(const char *fmt, ...) __printflike(1, 2); | extern void LogPrintf(const char *fmt, ...) __printflike(1, 2); |
| extern void vLogPrintf(const char *fmt, va_list args); | extern void vLogPrintf(const char *fmt, va_list args); |
| extern void LogPrintf2(const char *fmt, ...) __printflike(1, 2); | extern void LogPrintf2(const char *fmt, ...) __printflike(1, 2); |
| extern int LogCommand(Context ctx, int ac, char *av[], void *arg); | extern int LogCommand(Context ctx, int ac, const char *const av[], const void *arg); |
| extern void LogDumpBuf2(const u_char *buf, int len, | extern void LogDumpBuf2(const u_char *buf, int len, |
| const char *fmt, ...) __printflike(3, 4); | const char *fmt, ...) __printflike(3, 4); |
| extern void LogDumpBp2(Mbuf bp, const char *fmt, ...) | extern void LogDumpBp2(Mbuf bp, const char *fmt, ...) |