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);
extern int afb_api_is_valid_name(const char *name);
+static inline int afb_api_is_public(const char *name)
+{
+ return *name != '.';
+}
+