updated win32 support for MINGW32-compiler/cross-compiler
[librfid] / include / librfid / rfid_reader.h
index 2a5c2d1..af2f4be 100644 (file)
@@ -12,6 +12,22 @@ struct rfid_reader {
        unsigned int l2_supported;
        unsigned int proto_supported;
 
+        int (*get_api_version)(
+            struct rfid_reader_handle *h,
+            u_int8_t *version);
+
+        int (*get_environment)(
+            struct rfid_reader_handle *rh,
+            unsigned char num_bytes,
+            unsigned char *buf);
+
+        int (*set_environment)(
+            struct rfid_reader_handle *rh,
+            unsigned char num_bytes,
+            const unsigned char *buf);
+
+        int (*reset)(struct rfid_reader_handle *h);
+
        int (*transceive)(struct rfid_reader_handle *h,
                          enum rfid_frametype frametype,
                          const unsigned char *tx_buf, unsigned int tx_len,
@@ -45,7 +61,6 @@ struct rfid_reader {
                int (*auth)(struct rfid_reader_handle *h, u_int8_t cmd,
                            u_int32_t serno, u_int8_t block);
        } mifare_classic;
-       struct rfid_reader *next;
 };
 
 enum rfid_reader_id {