diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/librfid/rfid_asic_rc632.h | 8 | ||||
-rw-r--r-- | include/librfid/rfid_layer2.h | 4 | ||||
-rw-r--r-- | include/librfid/rfid_layer2_iso15693.h | 6 | ||||
-rw-r--r-- | include/librfid/rfid_protocol.h | 6 | ||||
-rw-r--r-- | include/librfid/rfid_protocol_tcl.h | 2 | ||||
-rw-r--r-- | include/librfid/rfid_reader.h | 6 |
6 files changed, 16 insertions, 16 deletions
diff --git a/include/librfid/rfid_asic_rc632.h b/include/librfid/rfid_asic_rc632.h index 893e73b..ec9b4e4 100644 --- a/include/librfid/rfid_asic_rc632.h +++ b/include/librfid/rfid_asic_rc632.h @@ -35,7 +35,7 @@ struct rfid_asic_rc632 { 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 (*transcieve)(struct rfid_asic_handle *h, + int (*transceive)(struct rfid_asic_handle *h, enum rfid_frametype, const u_int32_t *tx_buf, unsigned int tx_len, @@ -45,10 +45,10 @@ struct rfid_asic_rc632 { unsigned int flags); struct { int (*init)(struct rfid_asic_handle *h); - int (*transcieve_sf)(struct rfid_asic_handle *h, + int (*transceive_sf)(struct rfid_asic_handle *h, u_int32_t cmd, struct iso14443a_atqa *atqa); - int (*transcieve_acf)(struct rfid_asic_handle *h, + int (*transceive_acf)(struct rfid_asic_handle *h, struct iso14443a_anticol_cmd *cmd, unsigned int *bit_of_col); int (*set_speed)(struct rfid_asic_handle *h, @@ -132,7 +132,7 @@ rc632_transmit(struct rfid_asic_handle *handle, u_int64_t timeout); int -rc632_transcieve(struct rfid_asic_handle *handle, +rc632_transceive(struct rfid_asic_handle *handle, const u_int32_t *tx_buf, u_int32_t tx_len, u_int32_t *rx_buf, diff --git a/include/librfid/rfid_layer2.h b/include/librfid/rfid_layer2.h index 4622a02..3dd54a2 100644 --- a/include/librfid/rfid_layer2.h +++ b/include/librfid/rfid_layer2.h @@ -17,7 +17,7 @@ enum rfid_layer2_id { struct rfid_layer2_handle *rfid_layer2_init(struct rfid_reader_handle *rh, unsigned int id); int rfid_layer2_open(struct rfid_layer2_handle *l2h); -int rfid_layer2_transcieve(struct rfid_layer2_handle *l2h, +int rfid_layer2_transceive(struct rfid_layer2_handle *l2h, enum rfid_frametype frametype, const unsigned char *tx_buf, unsigned int tx_len, unsigned char *rx_buf, unsigned int *rx_len, @@ -42,7 +42,7 @@ struct rfid_layer2 { struct { struct rfid_layer2_handle *(*init)(struct rfid_reader_handle *h); int (*open)(struct rfid_layer2_handle *h); - int (*transcieve)(struct rfid_layer2_handle *h, + int (*transceive)(struct rfid_layer2_handle *h, enum rfid_frametype frametype, const unsigned char *tx_buf, unsigned int tx_len, unsigned char *rx_buf, diff --git a/include/librfid/rfid_layer2_iso15693.h b/include/librfid/rfid_layer2_iso15693.h index ea7f87a..d91b4ec 100644 --- a/include/librfid/rfid_layer2_iso15693.h +++ b/include/librfid/rfid_layer2_iso15693.h @@ -22,14 +22,14 @@ struct iso15693_transport { int (*fini)(struct iso15693_handle *handle); #if 0 - int (*transcieve_sf)(struct iso14443a_handle *handle, + int (*transceive_sf)(struct iso14443a_handle *handle, unsigned char cmd, struct iso14443a_atqa *atqa); - int (*transcieve_acf)(struct iso14443a_handle *handle, + int (*transceive_acf)(struct iso14443a_handle *handle, struct iso14443a_anticol_cmd *acf, unsigned int *bit_of_col); #endif - int (*transcieve)(struct iso15693_handle *handle, + int (*transceive)(struct iso15693_handle *handle, const unsigned char *tx_buf, unsigned int tx_len, unsigned char *rx_buf, diff --git a/include/librfid/rfid_protocol.h b/include/librfid/rfid_protocol.h index 65bda4c..d1960ef 100644 --- a/include/librfid/rfid_protocol.h +++ b/include/librfid/rfid_protocol.h @@ -8,7 +8,7 @@ struct rfid_protocol_handle; struct rfid_protocol_handle * rfid_protocol_init(struct rfid_layer2_handle *l2h, unsigned int id); int rfid_protocol_open(struct rfid_protocol_handle *ph); -int rfid_protocol_transcieve(struct rfid_protocol_handle *ph, +int rfid_protocol_transceive(struct rfid_protocol_handle *ph, const unsigned char *tx_buf, unsigned int tx_len, unsigned char *rx_buf, unsigned int *rx_len, unsigned int timeout, unsigned int flags); @@ -46,8 +46,8 @@ struct rfid_protocol { int (*open)(struct rfid_protocol_handle *ph); int (*close)(struct rfid_protocol_handle *ph); int (*fini)(struct rfid_protocol_handle *ph); - /* transcieve for session based transport protocols */ - int (*transcieve)(struct rfid_protocol_handle *ph, + /* transceive for session based transport protocols */ + int (*transceive)(struct rfid_protocol_handle *ph, const unsigned char *tx_buf, unsigned int tx_len, unsigned char *rx_buf, diff --git a/include/librfid/rfid_protocol_tcl.h b/include/librfid/rfid_protocol_tcl.h index f754ad9..180c008 100644 --- a/include/librfid/rfid_protocol_tcl.h +++ b/include/librfid/rfid_protocol_tcl.h @@ -10,7 +10,7 @@ enum tcl_transport_rate { TCL_RATE_848 = 0x08, }; -enum tcl_transport_transcieve_flags { +enum tcl_transport_transceive_flags { TCL_TRANSP_F_TX_CRC = 0x01, /* transport adds TX CRC */ TCL_TRANSP_F_RX_CRC = 0x02, }; diff --git a/include/librfid/rfid_reader.h b/include/librfid/rfid_reader.h index 3581cc1..695221d 100644 --- a/include/librfid/rfid_reader.h +++ b/include/librfid/rfid_reader.h @@ -9,7 +9,7 @@ struct rfid_reader_handle; struct rfid_reader { char *name; unsigned int id; - int (*transcieve)(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, unsigned char *rx_buf, unsigned int *rx_len, @@ -19,10 +19,10 @@ struct rfid_reader { struct rfid_14443a_reader { int (*init)(struct rfid_reader_handle *h); - int (*transcieve_sf)(struct rfid_reader_handle *h, + int (*transceive_sf)(struct rfid_reader_handle *h, unsigned char cmd, struct iso14443a_atqa *atqa); - int (*transcieve_acf)(struct rfid_reader_handle *h, + int (*transceive_acf)(struct rfid_reader_handle *h, struct iso14443a_anticol_cmd *cmd, unsigned int *bit_of_col); int (*set_speed)(struct rfid_reader_handle *h, |