Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bindings V2: migration of HelloWorld binder
[src/app-framework-binder.git]
/
src
/
afb-api-so.h
diff --git
a/src/afb-api-so.h
b/src/afb-api-so.h
index
9c2a570
..
382dad0
100644
(file)
--- 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 <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-16,12
+16,16
@@
*/
*/
-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);
+
+extern int afb_api_so_add_path(const char *path, struct afb_apiset *apiset);
+
+extern int afb_api_so_add_pathset(const char *pathset, struct afb_apiset *apiset);