aboutsummaryrefslogtreecommitdiff
path: root/lib/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private.h')
-rw-r--r--lib/private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private.h b/lib/private.h
index be5cf6d..c38cc09 100644
--- a/lib/private.h
+++ b/lib/private.h
@@ -57,6 +57,9 @@ struct transport_ops {
int (*get_request)(vfu_ctx_t *vfu_ctx, struct vfio_user_header *hdr,
int *fds, size_t *nr_fds);
+ int (*recv_body)(vfu_ctx_t *vfu_ctx, const struct vfio_user_header *hdr,
+ void **datap);
+
int (*reply)(vfu_ctx_t *vfu_ctx, uint16_t msg_id,
struct iovec *iovecs, size_t nr_iovecs,
int *fds, int count, int err);