summaryrefslogtreecommitdiffstats
path: root/src/nfc-binding.h
blob: 767a4489172996b50a5bd5825c4fab1eb5930aaa (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(struct afb_req req);
void verb_stop(struct afb_req req);