aboutsummaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-04-04 17:53:30 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-04-05 18:34:28 -0700
commit7eba64b591678e8e150ca5da0ea3537c3dd4db1f (patch)
tree2985828d66f138bd400b2bd2c58abea78e5cb2ff /binding
parent3fd25b6160b4ec3418c7a79e9ca455238f7f63d4 (diff)
binding: network: remove versioning references in structshalibut_7.99.1halibut/7.99.17.99.1
In order to upgrade to future versions easier don't use versioned structs but the respective typedefs Change-Id: Ib61ed769d16907a7c3842206f2168b503001cac1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r--binding/network-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/network-api.c b/binding/network-api.c
index bf8edca..0206973 100644
--- a/binding/network-api.c
+++ b/binding/network-api.c
@@ -1699,7 +1699,7 @@ static void network_agent_response(afb_req_t request)
afb_req_success_f(request, NULL, "Network - agent response sent");
}
-static const struct afb_verb_v3 network_verbs[] = {
+static const afb_verb_t network_verbs[] = {
{
.verb = "subscribe",
.session = AFB_SESSION_NONE,
@@ -1788,7 +1788,7 @@ static const struct afb_verb_v3 network_verbs[] = {
/*
* description of the binding for afb-daemon
*/
-const struct afb_binding_v3 afbBindingV3 = {
+const afb_binding_t afbBindingV3 = {
.api = "network-manager", /* the API name (or binding name or prefix) */
.specification = "networking API", /* short description of of the binding */
.verbs = network_verbs, /* the array describing the verbs of the API */