From 737914b33d3fe35290bb6afaa9eda398dbd31cea Mon Sep 17 00:00:00 2001 From: cbdev Date: Mon, 19 Jun 2023 23:22:25 +0200 Subject: Move polling functionality to reader module --- nfcommander.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfcommander.h') diff --git a/nfcommander.h b/nfcommander.h index 7990198..1f2e1e1 100644 --- a/nfcommander.h +++ b/nfcommander.h @@ -24,6 +24,7 @@ typedef struct { typedef int (*reader_plugin_init)(void); typedef int (*reader_plugin_handle)(int fd); +typedef int (*reader_plugin_scan)(void); typedef enum { system_control, @@ -32,5 +33,4 @@ typedef enum { } notification_target_t; int core_manage_fd(int fd, int manage, notification_target_t system); -int core_tag_present(nfc_tag_info_t tag); -int core_tag_removed(nfc_tag_info_t tag); +int reader_tag_present(nfc_tag_info_t tag); -- cgit v1.2.3