summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/librfid/rfid_asic_rc632.h3
-rw-r--r--include/librfid/rfid_reader.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/include/librfid/rfid_asic_rc632.h b/include/librfid/rfid_asic_rc632.h
index 3aebd1f..ccc4f20 100644
--- a/include/librfid/rfid_asic_rc632.h
+++ b/include/librfid/rfid_asic_rc632.h
@@ -33,8 +33,7 @@ struct rfid_asic_rc632 {
struct {
int (*power_up)(struct rfid_asic_handle *h);
int (*power_down)(struct rfid_asic_handle *h);
- int (*turn_on_rf)(struct rfid_asic_handle *h);
- int (*turn_off_rf)(struct rfid_asic_handle *h);
+ int (*rf_power)(struct rfid_asic_handle *h, int on);
int (*transceive)(struct rfid_asic_handle *h,
enum rfid_frametype,
const u_int8_t *tx_buf,
diff --git a/include/librfid/rfid_reader.h b/include/librfid/rfid_reader.h
index 296c66f..64ad862 100644
--- a/include/librfid/rfid_reader.h
+++ b/include/librfid/rfid_reader.h
@@ -35,6 +35,7 @@ struct rfid_reader {
u_int64_t timeout, unsigned int flags);
struct rfid_reader_handle * (*open)(void *data);
void (*close)(struct rfid_reader_handle *h);
+ int (*rf_power)(struct rfid_reader_handle *h, int on);
struct rfid_14443a_reader {
int (*init)(struct rfid_reader_handle *h);
personal git repositories of Harald Welte. Your mileage may vary