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

eventhandler.c File Reference


Detailed Description

This keeps track of card insertion/removal events and updates ATR, protocol, and status information.

Definition in file eventhandler.c.

#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include "misc.h"
#include "pcscd.h"
#include "ifdhandler.h"
#include "debuglog.h"
#include "thread_generic.h"
#include "readerfactory.h"
#include "eventhandler.h"
#include "dyn_generic.h"
#include "sys_generic.h"
#include "ifdwrapper.h"
#include "prothandler.h"
#include "strlcpycat.h"

Go to the source code of this file.

Functions

LONG EHDestroyEventHandler (PREADER_CONTEXT rContext)
LONG EHInitializeEventStructures (void)
LONG EHSpawnEventHandler (PREADER_CONTEXT rContext, RESPONSECODE(*card_event)(DWORD))
void EHStatusHandlerThread (PREADER_CONTEXT)
static void incrementEventCounter (struct pubReaderStatesList *readerState)

Variables

static PREADER_STATE readerStates [PCSCLITE_MAX_READERS_CONTEXTS]


Generated by  Doxygen 1.6.0   Back to index