aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-12-08 10:48:40 -0500
committerThanos Makatos <tmakatos@gmail.com>2020-12-11 12:54:21 +0000
commita11cac3d0820999e2c2b03b26f8c5a2ed48e2a89 (patch)
treef81daa92aaa897167ca5ede8b123eabdfcc4f52d /include/libvfio-user.h
parent0e3d7e722dce6e9a8eb3560831164c2234cadaf3 (diff)
downloadlibvfio-user-a11cac3d0820999e2c2b03b26f8c5a2ed48e2a89.zip
libvfio-user-a11cac3d0820999e2c2b03b26f8c5a2ed48e2a89.tar.gz
libvfio-user-a11cac3d0820999e2c2b03b26f8c5a2ed48e2a89.tar.bz2
remove unused typedef
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'include/libvfio-user.h')
-rw-r--r--include/libvfio-user.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index 773ba1f..120ffa4 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -115,24 +115,6 @@ vfu_pci_get_config_space(vfu_ctx_t *vfu_ctx);
*/
typedef void (vfu_log_fn_t) (void *pvt, int level, const char *msg);
-/**
- * Callback function that gets called when a capability is accessed. The
- * callback is not called when the ID and next fields are accessed, these are
- * handled by the library.
- *
- * @pvt: private pointer
- * @id: capability ID being accessed
- * @buf: pointer to data being read or written
- * @count: number of bytes being read or written
- * @offset: offset within the capability
- * @is_write: whether the capability is read or written
- *
- * @returns the number of bytes read or written
- */
-typedef ssize_t (vfu_cap_access_t) (void *pvt, uint8_t id,
- char *buf, size_t count,
- loff_t offset, bool is_write);
-
typedef enum {
VFU_TRANS_SOCK,
VFU_TRANS_MAX