break out connect and send data to the library

exporting
ykpiv_connect()
ykpiv_send_data()
ykpiv_transfer_data()
This commit is contained in:
Klas Lindfors
2014-06-16 15:00:52 +02:00
parent 0d4dd2fea1
commit f1c5302407
5 changed files with 232 additions and 176 deletions
+1
View File
@@ -44,6 +44,7 @@ static const err_t errors[] = {
ERR (YKPIV_OK, "Successful return"),
ERR (YKPIV_MEMORY_ERROR, "Error allocating memory"),
ERR (YKPIV_PCSC_ERROR, "Error in PCSC call"),
ERR (YKPIV_SIZE_ERROR, "Wrong buffer size"),
};
/**