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-export: Provide the real path of the binding
[src/app-framework-binder.git]
/
src
/
afb-api.h
diff --git
a/src/afb-api.h
b/src/afb-api.h
index
d03aaca
..
c21f3bb
100644
(file)
--- a/
src/afb-api.h
+++ b/
src/afb-api.h
@@
-24,7
+24,7
@@
struct json_object;
struct afb_api_itf
{
void (*call)(void *closure, struct afb_xreq *xreq);
struct afb_api_itf
{
void (*call)(void *closure, struct afb_xreq *xreq);
- int (*service_start)(void *closure
, int share_session, int onneed
);
+ int (*service_start)(void *closure);
void (*update_hooks)(void *closure);
int (*get_logmask)(void *closure);
void (*set_logmask)(void *closure, int level);
void (*update_hooks)(void *closure);
int (*get_logmask)(void *closure);
void (*set_logmask)(void *closure, int level);
@@
-41,4
+41,9
@@
struct afb_api_item
extern int afb_api_is_valid_name(const char *name);
extern int afb_api_is_valid_name(const char *name);
+static inline int afb_api_is_public(const char *name)
+{
+ return *name != '.';
+}
+