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

testpcsc.c File Reference


Detailed Description

This is a test program for pcsc-lite.

Definition in file testpcsc.c.

#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pcsclite.h"
#include "winscard.h"
#include "reader.h"

Go to the source code of this file.

Defines

#define BLUE   "\33[34m"
#define BRIGHT_RED   "\33[01;31m"
#define DONT_PANIC   1
#define GREEN   "\33[32m"
#define MAGENTA   "\33[35m"
#define NORMAL   "\33[0m"
#define PANIC   0
#define RED   "\33[31m"
#define USE_AUTOALLOCATE

Functions

int main (int argc, char **argv)
void test_rv (LONG rv, SCARDCONTEXT hContext, int dont_panic)


Generated by  Doxygen 1.6.0   Back to index