aboutsummaryrefslogtreecommitdiff
path: root/lib/private.h
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-12-14 13:15:21 +0000
committerGitHub <noreply@github.com>2020-12-14 13:15:21 +0000
commit0e2a9fe81ace3ae06d6a931833bea367f7dda26b (patch)
tree8f4dcfd2b2bad9c812f8282f57f3ec94c60a4719 /lib/private.h
parent6299ba17273e9bc7b020395cb85ebf77dba296cd (diff)
downloadlibvfio-user-0e2a9fe81ace3ae06d6a931833bea367f7dda26b.zip
libvfio-user-0e2a9fe81ace3ae06d6a931833bea367f7dda26b.tar.gz
libvfio-user-0e2a9fe81ace3ae06d6a931833bea367f7dda26b.tar.bz2
add unit test for device get info (#192)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/private.h')
-rw-r--r--lib/private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private.h b/lib/private.h
index e8afd79..5321734 100644
--- a/lib/private.h
+++ b/lib/private.h
@@ -168,6 +168,10 @@ process_request(vfu_ctx_t *vfu_ctx);
int
consume_fd(int *fds, size_t nr_fds, size_t index);
+int
+handle_device_get_info(vfu_ctx_t *vfu_ctx, uint32_t size,
+ struct vfio_device_info *dev_info);
+
#endif /* LIB_VFIO_USER_PRIVATE_H */
/* ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */