summaryrefslogtreecommitdiff
path: root/include/rfid/rfid.h
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-11-08 12:19:38 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-11-08 12:19:38 +0000
commitb40ece7ac6d4c72cf8a648fd1b7eee30130eac77 (patch)
tree031da020e66b9ad329a3e5011ef416faa03dc6b6 /include/rfid/rfid.h
parent7600eb5ebbb8ac0f7532e7e7ae6cb5d4dc29d30b (diff)
implement and test baud rates of up to 848k
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1663 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include/rfid/rfid.h')
-rw-r--r--include/rfid/rfid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rfid/rfid.h b/include/rfid/rfid.h
index 6bb5b58..6717ef8 100644
--- a/include/rfid/rfid.h
+++ b/include/rfid/rfid.h
@@ -15,8 +15,12 @@ enum rfid_frametype {
#define DEBUGPC(x, args ...) fprintf(stderr, x, ## args)
extern const char *rfid_hexdump(const void *data, unsigned int len);
+#ifndef ARRAY_SIZE
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif
+#endif /* __LIBRFID__ */
+
int rfid_init();
#endif /* _RFID_H */
personal git repositories of Harald Welte. Your mileage may vary