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

📄 tracing.h

📁 usb to rs232 converter source code
💻 H
字号:
/* * This file is a part of BeOS USB Serial driver project. * Copyright (c) 2003 by Siarzuk Zharski <imker@gmx.li> * * This file may be used under the terms of the BSD License * See the file "License" for details. *  * $Source: /cvsroot/sis4be/usb_serial/tracing.h,v $ * $Author: zharik $ * $Revision: 1.2 $ * $Date: 2003/10/05 17:44:52 $ * */#ifndef _USB_SERIAL_TRACING_H_   #define _USB_SERIAL_TRACING_H_  void load_setting();void create_log();void usb_serial_trace(bool b_force, char *fmt, ...);#define TRACE_ALWAYS(x...) usb_serial_trace(true, x);#define TRACE(x...) usb_serial_trace(false, x);extern bool b_log_funcalls;#define TRACE_FUNCALLS(x...)\        { if(b_log_funcalls) usb_serial_trace(false, x);}extern bool b_log_funcret;#define TRACE_FUNCRET(x...)\        { if(b_log_funcret) usb_serial_trace(false, x);}extern bool b_log_funcres;#define TRACE_FUNCRES(func, param)\        { if(b_log_funcres) func(param);}void trace_ddomain(struct ddomain *dd);void trace_termios(struct termios *tios);void trace_str(struct str *str);void trace_winsize(struct winsize *ws);void trace_tty(struct tty *tty);extern bool b_acm_support;#endif//_USB_SERIAL_TRACING_H_ 

⌨️ 快捷键说明

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