utils.h

00001 /*
00002  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
00003  *
00004  * Copyright (C) 2006-2007
00005  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
00006  *
00007  * $Id: pcscdaemon.c 2377 2007-02-05 13:13:56Z rousseau $
00008  */
00009 
00010 #ifndef __utils_h__
00011 #define __utils_h__
00012 
00013 #include <sys/types.h>
00014 #include "wintypes.h"
00015 #include "readerfactory.h"
00016 
00017 #define PID_ASCII_SIZE 11
00018 pid_t GetDaemonPid(void);
00019 int SendHotplugSignal(void);
00020 
00021 /* defined in winscard_clnt.c */
00022 LONG SCardCheckDaemonAvailability(void);
00023 
00024 int StatSynchronize(/*@null@*/ struct pubReaderStatesList *readerState);
00025 int StatSynchronizeContext(SCARDCONTEXT hContext);
00026 
00027 int CheckForOpenCT(void);
00028 
00029 #endif
00030 

Generated on Mon Aug 17 01:00:11 2009 for pcsc-lite by  doxygen 1.5.9