X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=include%2Fafb%2Fafb-req-itf.h;h=34d73dd2a324bdfa3c047213a7040660ab4dd1c5;hb=6f1126ae2c585afc34d0bb06f3763e3a82ee3d37;hp=1d60daee16401223bdaca57be47ecbebfa9187bc;hpb=090379fdaf6ed1860dcff21424135ad71ead0cd2;p=src%2Fapp-framework-binder.git 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); -} -