X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-binding-vdyn.h;h=357a85f6dfc362cc22ff81cba45541771adc1822;hb=a708fcbcb234af8ffe69d04786e44472b45f3559;hp=6e7a0815fa3f06b5ecf08fb1ac3cb248c68ca524;hpb=59cd34b59853f6a47e756d7ab5bc0329f40a471c;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-binding-vdyn.h b/include/afb/afb-binding-vdyn.h index 6e7a0815..357a85f6 100644 --- a/include/afb/afb-binding-vdyn.h +++ b/include/afb/afb-binding-vdyn.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2016, 2017, 2018 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,6 +25,14 @@ #include "afb-request.h" #include "afb-dynapi.h" +/* + * The function afbBindingVdyn if exported allows to create + * pure dynamic bindings. When the binding is loaded, it receives + * a virtual dynapi that can be used to create apis. The + * given API can not be used except for creating dynamic apis. + */ +extern int afbBindingVdyn(struct afb_dynapi *dynapi); + /* * Macros for logging messages */