diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/tdi/irda/inc/irlaplog.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/ntos/tdi/irda/inc/irlaplog.h')
-rw-r--r-- | private/ntos/tdi/irda/inc/irlaplog.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/private/ntos/tdi/irda/inc/irlaplog.h b/private/ntos/tdi/irda/inc/irlaplog.h new file mode 100644 index 000000000..71f67866f --- /dev/null +++ b/private/ntos/tdi/irda/inc/irlaplog.h @@ -0,0 +1,44 @@ +/***************************************************************************** +* +* Copyright (c) 1995 Microsoft Corporation +* +* File: irlaplog.h +* +* Description: IRLAP state machine logging and errors +* +* Author: mbert +* +* Date: 4/15/95 +* +*/ + +#ifdef DEBUG + +extern TCHAR *IRDA_PrimStr[]; +extern TCHAR *IRLAP_StateStr[]; +extern TCHAR *MAC_OpStr[]; +extern TCHAR *IRDA_TimerStr[]; +extern TCHAR *IRDA_StatStr[]; + +#define SPRINT_BUF_LEN 1000 + +#define EXPAND_ADDR(Addr) (Addr[0], Addr[1], Addr[2], Addr[3]) + +void IRLAP_EventLogStart(PIRLAP_CB, TCHAR *pFormat, ...); +void __cdecl IRLAP_LogAction(PIRLAP_CB, TCHAR *pFormat, ...); +void IRLAP_EventLogComplete(PIRLAP_CB); +TCHAR *FrameToStr(IRDA_MSG *); + +#define IRLAP_LOG_START(X) IRLAP_EventLogStart X +#define IRLAP_LOG_ACTION(X) IRLAP_LogAction X +#define IRLAP_LOG_COMPLETE(X) IRLAP_EventLogComplete(X) + +#else + +#define IRLAP_LOG_START(X) (0) +#define IRLAP_LOG_ACTION(X) (0) +#define IRLAP_LOG_COMPLETE(X) (0) + +#endif + + |