diff options
author | cbdev <cb@cbcdn.com> | 2023-06-19 23:22:25 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2023-06-19 23:22:25 +0200 |
commit | 737914b33d3fe35290bb6afaa9eda398dbd31cea (patch) | |
tree | 81e4386cd3c68a28a5f7060a5852b9e4a352ea29 /nfcommander.h | |
parent | de9c58c92c29f9498c9e91a1a1b918261135d31b (diff) | |
download | nfcommander-737914b33d3fe35290bb6afaa9eda398dbd31cea.tar.gz nfcommander-737914b33d3fe35290bb6afaa9eda398dbd31cea.tar.bz2 nfcommander-737914b33d3fe35290bb6afaa9eda398dbd31cea.zip |
Move polling functionality to reader module
Diffstat (limited to 'nfcommander.h')
-rw-r--r-- | nfcommander.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |