diff options
Diffstat (limited to 'binding/afm-nfc-common.h')
-rw-r--r-- | binding/afm-nfc-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binding/afm-nfc-common.h b/binding/afm-nfc-common.h index 49a0f8a..26741e6 100644 --- a/binding/afm-nfc-common.h +++ b/binding/afm-nfc-common.h @@ -19,8 +19,16 @@ #ifndef AFM_NFC_COMMON_H #define AFM_NFC_COMMON_H +#include <nfc/nfc-types.h> + #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) char *to_hex_string(unsigned char *data, size_t size); + +typedef struct { + nfc_context *ctx; + nfc_device *dev; +} nfc_binding_data; + #endif // AFM_NFC_COMMON_H |