diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2017-11-09 15:03:18 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2017-11-09 15:03:18 +0100 |
commit | aa5da1e1a47c4d8c6e3265e0d99335bebb28e378 (patch) | |
tree | cd4795cdb908874bd8cad1f821ff084b7832389e /src/api.c | |
parent | 2f540d4b238b773ee1eaf4aae4c08e2fb93cabc5 (diff) |
rename verbs to match the aia-binding expectations.
Change-Id: Ic959f94f55cd3c010663369c54e63089725a8556
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'src/api.c')
-rw-r--r-- | src/api.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |