7 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
11 hexdump(const void *data, unsigned int len);
14 hexread(unsigned char *result, const unsigned char *in, unsigned int len);
16 extern struct rfid_reader_handle *rh;
17 extern struct rfid_layer2_handle *l2h;
18 extern struct rfid_protocol_handle *ph;
20 extern int reader_init(void);
21 extern int l2_init(int layer2);
22 extern int l3_init(int protocol);
24 #define LIBRFID_TOOL_VERSION "0.1"
26 struct rfidtool_module {
27 struct rfidtool_module *next;
30 const struct option *extra_opts;
32 unsigned int option_offset;
35 #endif /* _REFIDTOOL_H */