aboutsummaryrefslogtreecommitdiffstats
path: root/binding/afm-nfc-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding/afm-nfc-common.h')
-rw-r--r--binding/afm-nfc-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/afm-nfc-common.h b/binding/afm-nfc-common.h
index 84e70bd..c4c4cff 100644
--- a/binding/afm-nfc-common.h
+++ b/binding/afm-nfc-common.h
@@ -19,6 +19,7 @@
#ifndef AFM_NFC_COMMON_H
#define AFM_NFC_COMMON_H
+#include <glib.h>
#include <json-c/json.h>
#include <nfc/nfc-types.h>
@@ -31,6 +32,9 @@ typedef struct {
nfc_context *ctx;
nfc_device *dev;
+ gchar *adapter;
+ GMainLoop *loop;
+
/* cached JSON event response */
json_object *jresp;
} nfc_binding_data;