Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

debug.c File Reference


Detailed Description

This handles debugging for libpcsclite.

Definition in file debug.c.

#include "config.h"
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "debug.h"
#include "strlcpycat.h"

Go to the source code of this file.

Defines

#define DEBUG_BUF_SIZE   2048

Functions

void log_init (void)
void log_msg (const int priority, const char *fmt,...)
void log_xxd (const int priority, const char *msg, const unsigned char *buffer, const int len)

Variables

static signed char LogDoColor = 0
static char LogLevel = PCSC_LOG_ERROR


Generated by  Doxygen 1.6.0   Back to index