summaryrefslogtreecommitdiffstats
path: root/src/server/image.h
diff options
context:
space:
mode:
authorSebastian Vater2025-08-19 16:53:14 +0200
committerSimon Rettberg2025-12-09 15:33:20 +0100
commit197f25c9c913940c87774c15bded85aa920be14b (patch)
treef3f9cd92be6532bdbc3064e2b1dc1d31e74ee28f /src/server/image.h
parent[SERVER] iscsi: Finish login handling, add NOP-In/Out handling (diff)
downloaddnbd3-197f25c9c913940c87774c15bded85aa920be14b.tar.gz
dnbd3-197f25c9c913940c87774c15bded85aa920be14b.tar.xz
dnbd3-197f25c9c913940c87774c15bded85aa920be14b.zip
[SERVER] iscsi: Hook into net.c, text response handling, more features:
- R2T handling - Portal groups - Fixes to login phase handling - Code refactoring - Remove obsolete PDU fields - SCSI INQUIRY handler - Persistent Reservation support - Implement SCSI block based operations - Implement other needed SCSI ops - Disks are now reported as read-only - Doxygen tags - Bugfixes for crashes, memleaks, etc.
Diffstat (limited to 'src/server/image.h')
-rw-r--r--src/server/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/image.h b/src/server/image.h
index df8ac87..a8ef717 100644
--- a/src/server/image.h
+++ b/src/server/image.h
@@ -19,6 +19,8 @@ bool image_ensureOpen(dnbd3_image_t *image);
dnbd3_image_t* image_byId(int imgId);
+dnbd3_image_t* image_getByWwn(uint64_t wwn, uint16_t revision, bool ensureFdOpen);
+
dnbd3_image_t* image_get(const char *name, uint16_t revision, bool checkIfWorking);
bool image_reopenCacheFd(dnbd3_image_t *image, const bool force);