📄 debug.c
字号:
/*
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
*/
#include <ntddk.h>
#include "debug.h"
#ifdef PPPOE_FUNCTION_DEBUG
static int debug_depth = 0;
void debug_fenter(const char *d) {
int i;
for (i = 0; i < debug_depth; i++) DbgPrint(" ");
DbgPrint("-> %s\n", d);
++debug_depth;
}
void debug_fleave(const char *d) {
int i;
--debug_depth;
for (i = 0; i < debug_depth; i++) DbgPrint(" ");
DbgPrint("<- %s\n", d);
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -