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-session: rewrite of cookie handling
[src/app-framework-binder.git]
/
src
/
afb-export.c
diff --git
a/src/afb-export.c
b/src/afb-export.c
index
7fd475a
..
ea783b8
100644
(file)
--- a/
src/afb-export.c
+++ b/
src/afb-export.c
@@
-173,7
+173,7
@@
static struct afb_eventid *eventid_make_cb(void *closure, const char *name)
memcpy(event + plen + 1, name, nlen + 1);
/* create the event */
memcpy(event + plen + 1, name, nlen + 1);
/* create the event */
- return afb_evt_
create_event
(event);
+ return afb_evt_
eventid_create
(event);
}
static struct afb_event event_make_cb(void *closure, const char *name)
}
static struct afb_event event_make_cb(void *closure, const char *name)
@@
-255,11
+255,12
@@
static int api_new_api_cb(
void *closure,
const char *api,
const char *info,
void *closure,
const char *api,
const char *info,
+ int noconcurrency,
int (*preinit)(void*, struct afb_dynapi *),
void *preinit_closure)
{
struct afb_export *export = closure;
int (*preinit)(void*, struct afb_dynapi *),
void *preinit_closure)
{
struct afb_export *export = closure;
- return afb_api_dyn_add(export->apiset, api, info, preinit, preinit_closure);
+ return afb_api_dyn_add(export->apiset, api, info,
noconcurrency,
preinit, preinit_closure);
}
/**********************************************
}
/**********************************************
@@
-376,11
+377,12
@@
static int hooked_api_new_api_cb(
void *closure,
const char *api,
const char *info,
void *closure,
const char *api,
const char *info,
+ int noconcurrency,
int (*preinit)(void*, struct afb_dynapi *),
void *preinit_closure)
{
/* TODO */
int (*preinit)(void*, struct afb_dynapi *),
void *preinit_closure)
{
/* TODO */
- return api_new_api_cb(closure, api, info, preinit, preinit_closure);
+ return api_new_api_cb(closure, api, info,
noconcurrency,
preinit, preinit_closure);
}
/**********************************************
* vectors
}
/**********************************************
* vectors