X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb-plugin.h;h=2c9935e67ec6533f33667ed45310101de09892cf;hb=68a8eaafe5f43480f29308bfd2ec12ad54da43f1;hp=4064f9e9917e90af0071cebae9654765b9e9a3c3;hpb=67966a2f96613d833f493ef3773c442d35f8ed31;p=src%2Fapp-framework-binder.git diff --git a/include/afb-plugin.h b/include/afb-plugin.h index 4064f9e9..2c9935e6 100644 --- a/include/afb-plugin.h +++ b/include/afb-plugin.h @@ -15,6 +15,8 @@ * limitations under the License. */ +#pragma once + struct afb_req; /* Plugin Type */ @@ -61,13 +63,12 @@ enum AFB_Mode { AFB_MODE_GLOBAL }; -struct afb_poll; - struct AFB_interface { int verbosity; enum AFB_Mode mode; - struct afb_poll (*poll_open)(int fd, void *closure); + const struct afb_pollitf *pollitf; + void *pollclosure; }; extern const struct AFB_plugin *pluginRegister (const struct AFB_interface *interface);