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

eventhandler.c File Reference

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

#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
#include "misc.h"
#include "pcscd.h"
#include "debuglog.h"
#include "readerfactory.h"
#include "eventhandler.h"
#include "dyn_generic.h"
#include "sys_generic.h"
#include "ifdwrapper.h"
#include "prothandler.h"
#include "strlcpycat.h"
#include "utils.h"
#include "winscard_svc.h"
#include "simclist.h"
Include dependency graph for eventhandler.c:

Go to the source code of this file.

Functions

LONG EHDestroyEventHandler (READER_CONTEXT *rContext)
LONG EHInitializeEventStructures (void)
LONG EHRegisterClientForEvent (int32_t filedes)
LONG EHSignalEventToClients (void)
LONG EHSpawnEventHandler (READER_CONTEXT *rContext)
static void EHStatusHandlerThread (READER_CONTEXT *)
LONG EHTryToUnregisterClientForEvent (int32_t filedes)
LONG EHUnregisterClientForEvent (int32_t filedes)

Variables

static list_t ClientsWaitingForEvent
pthread_mutex_t ClientsWaitingForEvent_lock

Detailed Description

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

Definition in file eventhandler.c.


Generated by  Doxygen 1.6.0   Back to index