summaryrefslogtreecommitdiffstats
path: root/src/nfc-binding.h
blob: a4fcfb49fc89c1b29dadeda97940024491347206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <json-c/json.h>

#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>

// Initializations
int init();

// Verbs
void verb_subscribe(struct afb_req req);
void verb_unsubscribe(struct afb_req req);
void verb_list_devices(struct afb_req req);
void verb_list_devices_capabilities(struct afb_req req);
void verb_start_polling(struct afb_req req);
void verb_stop_polling(struct afb_req req);