debug.h

来自「pppoe在windows实现的miniport驱动源代码」· C头文件 代码 · 共 39 行

H
39
字号
/*
    MikroTik PPPoE - MikroTik PPP over Ethernet client for Windows
    Copyright (C),  2001  MikroTikls

    The contents of this program are subject to the Mozilla Public License 
    Version 1.1; you may not use this program except in compliance with the 
    License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 

    
    http://www.mikrotik.com
    mt@mt.lv
*/


#ifndef _PPPOE_DEBUG_H_
#define _PPPOE_DEBUG_H_

#ifdef PPPOE_STATE_DEBUG
#define DEBUG_STATE(s) DbgPrint s
#else
#define DEBUG_STATE
#endif

#ifdef PPPOE_FUNCTION_DEBUG

extern void debug_fenter(const char *);
extern void debug_fleave(const char *);
#define FENTER(s) debug_fenter(s)
#define FLEAVE(s) debug_fleave(s)

#else

#define FENTER
#define FLEAVE

#endif

#endif /* _PPPOE_DEBUG_H_ */

⌨️ 快捷键说明

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