|
pcsc-lite 2.4.1
|
This handles debugging. More...
Go to the source code of this file.
Macros | |
| #define | PCSC_API |
| #define | DEBUG_CATEGORY_NOTHING 0 |
| #define | DEBUG_CATEGORY_APDU 1 |
| #define | DEBUG_CATEGORY_SW 2 |
| #define | __FUNCTION__ "" |
| #define | __attribute__(x) |
| #define | Log0(priority) |
| #define | Log1(priority, fmt) |
| #define | Log2(priority, fmt, data) |
| #define | Log3(priority, fmt, data1, data2) |
| #define | Log4(priority, fmt, data1, data2, data3) |
| #define | LogRv4(priority, rv, fmt, data1, data2) |
| #define | Log5(priority, fmt, data1, data2, data3, data4) |
| #define | Log9(priority, fmt, data1, data2, data3, data4, data5, data6, data7, data8) |
| #define | LogXxd(priority, msg, buffer, size) |
| #define | DebugLogA(a) |
| #define | DebugLogB(a, b) |
| #define | DebugLogC(a, b, c) |
Functions | |
| const char * | rv2text (unsigned int rv) |
| PCSC_API void | log_msg_rv (const int priority, unsigned int rv, const char *fmt,...) __attribute__((format(printf |
| PCSC_API void PCSC_API void | log_msg (const int priority, const char *fmt,...) __attribute__((format(printf |
| PCSC_API void PCSC_API void PCSC_API void | log_xxd (const int priority, const char *msg, const unsigned char *buffer, const int size) |
| void | DebugLogSuppress (const int) |
| void | DebugLogSetLogType (const int) |
| void | DebugLogSetCategory (const int) |
| void | DebugLogCategory (const int, const unsigned char *, const int) |
| PCSC_API void | DebugLogSetLevel (const int level) |
This handles debugging.
Definition in file debuglog.h.
| #define __attribute__ | ( | x | ) |
Definition at line 85 of file debuglog.h.
| #define __FUNCTION__ "" |
Definition at line 81 of file debuglog.h.
| #define DEBUG_CATEGORY_APDU 1 |
Definition at line 69 of file debuglog.h.
| #define DEBUG_CATEGORY_NOTHING 0 |
Definition at line 68 of file debuglog.h.
| #define DEBUG_CATEGORY_SW 2 |
Definition at line 70 of file debuglog.h.
| #define DebugLogA | ( | a | ) |
Definition at line 118 of file debuglog.h.
| #define DebugLogB | ( | a, | |
| b ) |
Definition at line 119 of file debuglog.h.
| #define DebugLogC | ( | a, | |
| b, | |||
| c ) |
Definition at line 120 of file debuglog.h.
| #define Log0 | ( | priority | ) |
Definition at line 107 of file debuglog.h.
| #define Log1 | ( | priority, | |
| fmt ) |
Definition at line 108 of file debuglog.h.
| #define Log2 | ( | priority, | |
| fmt, | |||
| data ) |
Definition at line 109 of file debuglog.h.
| #define Log3 | ( | priority, | |
| fmt, | |||
| data1, | |||
| data2 ) |
Definition at line 110 of file debuglog.h.
| #define Log4 | ( | priority, | |
| fmt, | |||
| data1, | |||
| data2, | |||
| data3 ) |
Definition at line 111 of file debuglog.h.
| #define Log5 | ( | priority, | |
| fmt, | |||
| data1, | |||
| data2, | |||
| data3, | |||
| data4 ) |
Definition at line 113 of file debuglog.h.
| #define Log9 | ( | priority, | |
| fmt, | |||
| data1, | |||
| data2, | |||
| data3, | |||
| data4, | |||
| data5, | |||
| data6, | |||
| data7, | |||
| data8 ) |
Definition at line 114 of file debuglog.h.
| #define LogRv4 | ( | priority, | |
| rv, | |||
| fmt, | |||
| data1, | |||
| data2 ) |
Definition at line 112 of file debuglog.h.
| #define LogXxd | ( | priority, | |
| msg, | |||
| buffer, | |||
| size ) |
Definition at line 115 of file debuglog.h.
| #define PCSC_API |
Definition at line 58 of file debuglog.h.
| anonymous enum |
Definition at line 61 of file debuglog.h.
| anonymous enum |
Definition at line 72 of file debuglog.h.
| void DebugLogCategory | ( | const int | category, |
| const unsigned char * | buffer, | ||
| const int | len ) |
Definition at line 420 of file debuglog.c.
| void DebugLogSetCategory | ( | const int | dbginfo | ) |
Definition at line 406 of file debuglog.c.
| PCSC_API void DebugLogSetLevel | ( | const int | level | ) |
Definition at line 381 of file debuglog.c.
| void DebugLogSetLogType | ( | const int | dbgtype | ) |
Definition at line 337 of file debuglog.c.
| PCSC_API void PCSC_API void PCSC_API void log_xxd | ( | const int | priority, |
| const char * | msg, | ||
| const unsigned char * | buffer, | ||
| const int | size ) |
Definition at line 323 of file debuglog.c.
| const char * rv2text | ( | unsigned int | rv | ) |
Definition at line 155 of file debuglog.c.