X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.h;h=d37f77c6662083e1e6bb181db71f27eb60ec2a8e;hb=349bf5c5a91991b791b205df83bf021f8ef0c062;hp=fcf66ccfcbf57f69ca92266f9c14218230d095cc;hpb=41618d081d650f9cc105034bfa37d3b861663db7;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so.h b/src/afb-api-so.h index fcf66ccf..d37f77c6 100644 --- a/src/afb-api-so.h +++ b/src/afb-api-so.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"); @@ -18,12 +18,17 @@ #pragma once -extern int afb_api_so_add_binding(const char *path); +struct afb_apiset; -extern int afb_api_so_add_directory(const char *path); +extern int afb_api_so_add_binding(const char *path, struct afb_apiset *apiset); -extern int afb_api_so_add_path(const char *path); +extern int afb_api_so_add_directory(const char *path, struct afb_apiset *apiset, int failstops); -extern int afb_api_so_add_pathset(const char *pathset); +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);