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
afb-hsrv: remove dependency to systemd
[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
59125fa
..
d37f77c
100644
(file)
--- 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 <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");
@@
-18,16
+18,17
@@
#pragma once
#pragma once
-
extern int afb_api_so_timeou
t;
+
struct afb_apise
t;
-extern
void afb_api_so_set_timeout(int to
);
+extern
int afb_api_so_add_binding(const char *path, struct afb_apiset *apiset
);
-extern int afb_api_so_add_
binding(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_
directory(const char *path
);
+extern int afb_api_so_add_
path(const char *path, struct afb_apiset *apiset, int failstops
);
-extern int afb_api_so_add_path
(const char *path
);
+extern int afb_api_so_add_path
set(const char *pathset, struct afb_apiset *apiset, int failstops
);
-extern int afb_api_so_add_pathset(const char *pathset);
+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);