summaryrefslogtreecommitdiffstats
path: root/src/nfc-binding.c
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-11-09 15:03:18 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2017-11-09 15:03:18 +0100
commitaa5da1e1a47c4d8c6e3265e0d99335bebb28e378 (patch)
treecd4795cdb908874bd8cad1f821ff084b7832389e /src/nfc-binding.c
parent2f540d4b238b773ee1eaf4aae4c08e2fb93cabc5 (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/nfc-binding.c')
-rw-r--r--src/nfc-binding.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nfc-binding.c b/src/nfc-binding.c
index 56aa211..c5f14c6 100644
--- a/src/nfc-binding.c
+++ b/src/nfc-binding.c
@@ -106,7 +106,7 @@ void verb_list_devices_capabilities(struct afb_req req)
/// @brief Start polling.
/// @param[in] req The query.
-void verb_start_polling(struct afb_req req)
+void verb_start(struct afb_req req)
{
struct json_object* result;
struct json_object* arg;
@@ -126,7 +126,9 @@ void verb_start_polling(struct afb_req req)
afb_req_success(req, result, NULL);
}
-void verb_stop_polling(struct afb_req req)
+/// @brief Stop polling.
+/// @param[in] req The query.
+void verb_stop(struct afb_req req)
{
afb_req_fail(req, "Not implemented yet!", NULL);
}