move the cli stuff to subdir tool
start of the ykpiv library
ignore more
let the tool link with the library
let configure.ac try to find gengetopt
bump version properly with librarisation
start library structure
start moving code to the library, and add error codes
break out connect and send data to the library

exporting
ykpiv_connect()
ykpiv_send_data()
ykpiv_transfer_data()
fix the test with new directory structure
get rid of the YKPIV_APDU_* macros

transport the starting 4 bytes as an array instead
drop the connect_reader() function
drop verbose parameter to alot of functions

since it's stored in state now
call ykpiv_done() before exiting
drop direct PCSC dependency for the tool
let the ykpiv_connect() function select as well
move authenticate to library as ykpiv_authenticate()
move apdu structure to internal.h
more constness
make constants for algorithms, keys and instructions