X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flibrfid%2Frfid_layer2.h;fp=include%2Flibrfid%2Frfid_layer2.h;h=7fbf81cf72bb9ff1bc0432673258f7a8057f34de;hb=a7c201deb99239d6d98a45b3cc642d8554231a22;hp=023b17148c4e75985f0eaa9b21b00d180328e8bf;hpb=3f9cbc44090f34a24d1d466a95805d7dc594515a;p=librfid diff --git a/include/librfid/rfid_layer2.h b/include/librfid/rfid_layer2.h index 023b171..7fbf81c 100644 --- a/include/librfid/rfid_layer2.h +++ b/include/librfid/rfid_layer2.h @@ -32,9 +32,9 @@ int rfid_layer2_transceive(struct rfid_layer2_handle *l2h, u_int64_t timeout, unsigned int flags); int rfid_layer2_close(struct rfid_layer2_handle *l2h); int rfid_layer2_fini(struct rfid_layer2_handle *l2h); -int rfid_layer2_getopt(struct rfid_layer2_handle *ph, int optname, +int rfid_layer2_getopt(struct rfid_layer2_handle *l2h, int optname, void *optval, unsigned int *optlen); -int rfid_layer2_setopt(struct rfid_layer2_handle *ph, int optname, +int rfid_layer2_setopt(struct rfid_layer2_handle *l2h, int optname, const void *optval, unsigned int optlen); char *rfid_layer2_name(struct rfid_layer2_handle *l2h); #ifdef __LIBRFID__