X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.h;h=c831567ad449d4adfaaddfc00bca87a10158d2ef;hb=a63851bb4726c89d9a3c5755d78d1c4bbc3f3b2e;hp=9c2a570b869eeb70caca93eab41c5b4dc123c2a6;hpb=83ce3b29a598141f8f28afde655beb07ec78c312;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so.h b/src/afb-api-so.h index 9c2a570b..c831567a 100644 --- a/src/afb-api-so.h +++ b/src/afb-api-so.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2016, 2017 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,12 +16,19 @@ */ -extern int afb_api_so_add_plugin(const char *path); +#pragma once -extern int afb_api_so_add_directory(const char *path); +struct afb_apiset; -extern int afb_api_so_add_path(const char *path); +extern int afb_api_so_add_binding(const char *path, struct afb_apiset *apiset); -extern int afb_api_so_add_pathset(const char *pathset); +extern int afb_api_so_add_directory(const char *path, struct afb_apiset *apiset, int failstops); + +extern int afb_api_so_add_path(const char *path, struct afb_apiset *apiset, int failstops); + +extern int afb_api_so_add_pathset(const char *pathset, struct afb_apiset *apiset, int failstops); + +extern int afb_api_so_add_pathset_fails(const char *pathset, struct afb_apiset *apiset); +extern int afb_api_so_add_pathset_nofails(const char *pathset, struct afb_apiset *apiset);