summaryrefslogtreecommitdiff
path: root/libtwn3.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtwn3.h')
-rw-r--r--libtwn3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtwn3.h b/libtwn3.h
index 91b3406..d998c24 100644
--- a/libtwn3.h
+++ b/libtwn3.h
@@ -36,11 +36,11 @@ int twn3_sync_storekey(int fd, uint8_t flags, uint8_t keyid, uint8_t key[6]);
int twn3_sync_antenna(int fd, uint8_t flags, uint8_t enable);
/* Mifare commands */
-int twn3_sync_select_first(int fd, uint8_t flags, uint8_t* type, uint8_t* serial, size_t* length);
+int twn3_sync_select_first(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, size_t* length);
//TBD clarify interface
-int twn3_sync_list(int fd, uint8_t flags, uint8_t* type, uint8_t* serial, size_t* length);
-int twn3_sync_select(int fd, uint8_t flags, uint8_t* type, uint8_t* serial, size_t* length);
+int twn3_sync_list(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, size_t* length);
+int twn3_sync_select(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, size_t* length);
int twn3_sync_auth(int fd, uint8_t flags, uint8_t key_a, uint8_t block, uint8_t key[6]);
int twn3_sync_auth_stored(int fd, uint8_t flags, uint8_t key_a, uint8_t block, uint8_t key_id);