libcacard: add vscclient

client to talk to ccid-card-passthru and use smartcard on client to
perform actual operations.

v23->v24 changes: (Jes Sorensen review 2)
 * use qemu_socket instead of socket
 * use fprintf(stderr,..) for errors
 * remove unneccessary includes since using qemu_common.h
This commit is contained in:
Robert Relyea
2011-04-01 19:07:49 -05:00
committed by Anthony Liguori
parent 111a38b018
commit 2ac85b93b0
2 changed files with 658 additions and 1 deletions
+6 -1
View File
@@ -15,6 +15,11 @@ QEMU_OBJS=$(addprefix ../, $(QEMU_THREAD) $(oslib-obj-y) $(trace-obj-y) qemu-mal
QEMU_CFLAGS+=-I../
vscclient: $(libcacard-y) $(QEMU_OBJS) vscclient.o
$(call quiet-command,$(CC) $(libcacard_libs) -lrt -o $@ $^," LINK $(TARGET_DIR)$@")
all: vscclient
clean:
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ vscclient
File diff suppressed because it is too large Load Diff