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
Migrates subcalls to use xreq
[src/app-framework-binder.git]
/
src
/
afb-subcall.h
diff --git
a/src/afb-subcall.h
b/src/afb-subcall.h
index
e39d8bd
..
7d29e1a
100644
(file)
--- a/
src/afb-subcall.h
+++ b/
src/afb-subcall.h
@@
-17,18
+17,16
@@
#pragma once
#pragma once
-struct afb_context;
-struct afb_req;
+struct afb_xreq;
struct json_object;
extern void afb_subcall(
struct json_object;
extern void afb_subcall(
- struct afb_
context *context
,
+ struct afb_
xreq *caller
,
const char *api,
const char *verb,
struct json_object *args,
void (*callback)(void*, int, struct json_object*),
const char *api,
const char *verb,
struct json_object *args,
void (*callback)(void*, int, struct json_object*),
- void *closure,
- struct afb_req req);
+ void *closure);
extern void afb_subcall_internal_error(
void (*callback)(void*, int, struct json_object*),
extern void afb_subcall_internal_error(
void (*callback)(void*, int, struct json_object*),