⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 starterlog.h

📁 This a good VPN source
💻 H
字号:
/* FreeS/WAN log functions (log.h) * Copyright (C) 2001-2002 Mathieu Lafon - Arkoon Network Security * * 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.  See <http://www.fsf.org/copyleft/gpl.txt>. * * 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. * * RCSID $Id: starterlog.h,v 1.1 2004/01/20 20:47:42 mcr Exp $ */#ifndef _STARTER_LOG_H_#define _STARTER_LOG_H_#define LOG_LEVEL_INFO   1#define LOG_LEVEL_ERR    2#define LOG_LEVEL_DEBUG  3extern void starter_log (int level, const char *fmt, ...);extern void starter_use_log (int debug, int console, int syslog);extern void passert_fail(const char *pred_str, const char *file_str, unsigned long line_no);extern int showonly;extern void *xmalloc(size_t s);extern char *xstrdup(char *s);extern void *xrealloc(void *o, size_t s);#endif /* _STARTER_LOG_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -