diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-12-08 10:48:40 -0500 |
---|---|---|
committer | Thanos Makatos <tmakatos@gmail.com> | 2020-12-11 12:54:21 +0000 |
commit | a11cac3d0820999e2c2b03b26f8c5a2ed48e2a89 (patch) | |
tree | f81daa92aaa897167ca5ede8b123eabdfcc4f52d /include | |
parent | 0e3d7e722dce6e9a8eb3560831164c2234cadaf3 (diff) | |
download | libvfio-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')
-rw-r--r-- | include/libvfio-user.h | 18 |
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 |