aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api.c b/src/api.c
index e508e86..8e928fd 100644
--- a/src/api.c
+++ b/src/api.c
@@ -35,15 +35,15 @@ static const struct afb_verb_v2 nfc_verbs[] = {
.session = AFB_SESSION_NONE_V2
},
{
- .verb = "start-polling",
- .callback = verb_start_polling,
+ .verb = "start",
+ .callback = verb_start,
.auth = NULL,
.info = NULL,
.session = AFB_SESSION_NONE_V2
},
{
- .verb = "stop-polling",
- .callback = verb_stop_polling,
+ .verb = "stop",
+ .callback = verb_stop,
.auth = NULL,
.info = NULL,
.session = AFB_SESSION_NONE_V2