diff options
Diffstat (limited to 'lib/muser_priv.h')
-rw-r--r-- | lib/muser_priv.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/muser_priv.h b/lib/muser_priv.h index aa29f5a..1b72aae 100644 --- a/lib/muser_priv.h +++ b/lib/muser_priv.h @@ -45,4 +45,15 @@ lm_get_region_info(lm_ctx_t *lm_ctx); uint64_t region_to_offset(uint32_t region); +int +send_vfio_user_msg(int sock, uint16_t msg_id, bool is_reply, + enum vfio_user_command cmd, void *data, int len, int *fds, + int count); + +int +send_version(int sock, int major, int minor, uint16_t msg_id, bool is_reply); + +int +recv_version(int sock, int *major, int *minor, uint16_t *msg_id, bool is_reply); + #endif /* MUSER_PRIV_H */ |