summaryrefslogtreecommitdiffstats
path: root/include/afb
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb')
-rw-r--r--include/afb/afb-req-itf.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/afb/afb-req-itf.h b/include/afb/afb-req-itf.h
index 1d60daee..34d73dd2 100644
--- a/include/afb/afb-req-itf.h
+++ b/include/afb/afb-req-itf.h
@@ -56,8 +56,8 @@ struct afb_req_itf {
void (*success)(void *closure, struct json_object *obj, const char *info);
void (*fail)(void *closure, const char *status, const char *info);
- const char *(*raw)(void *closure, size_t *size);
- void (*send)(void *closure, const char *buffer, size_t size);
+ /*legacy raw */void (*spare1)(void *closure);
+ /*legacy send*/void (*spare2)(void *closure);
void *(*context_get)(void *closure);
void (*context_set)(void *closure, void *value, void (*free_value)(void*));
@@ -388,15 +388,3 @@ static inline int afb_req_subcall_sync(struct afb_req req, const char *api, cons
return req.itf->subcallsync(req.closure, api, verb, args, result);
}
-/* internal use */
-static inline const char *afb_req_raw(struct afb_req req, size_t *size)
-{
- return req.itf->raw(req.closure, size);
-}
-
-/* internal use */
-static inline void afb_req_send(struct afb_req req, const char *buffer, size_t size)
-{
- req.itf->send(req.closure, buffer, size);
-}
-