]> www.infradead.org Git - users/dhowells/kafs-utils.git/commitdiff
xg: Define VOLSER.GetSize
authorDavid Howells <dhowells@redhat.com>
Wed, 7 Feb 2018 06:55:16 +0000 (06:55 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 26 Sep 2019 10:22:41 +0000 (11:22 +0100)
Signed-off-by: David Howells <dhowells@redhat.com>
rpc-api/volumeserver.xg

index 2e4dc9dd3e6de05ac7f439914d6085afa294b588..2a96c4ad7328c88cfa083677bcbfd53491e26a6a 100644 (file)
@@ -78,6 +78,7 @@ const VOLXLISTONEVOL  = 125;
 const VOLSETINFO       = 126;
 const VOLXLISTPARTITIONS= 127;
 const VOLFORWARDMULTIPLE= 128;
+const VOLGETSIZE       = 65537;
 
 const PARTVALID        = 0x01;
 const VOK      = 0x02;
@@ -385,3 +386,12 @@ ForwardMultiple(IN int32_t fromTrans,
                IN uint32_t spare0,
                IN restoreCookie *cookie,
                OUT multi_results *results) = VOLFORWARDMULTIPLE;
+
+struct volintSize {
+    uint64_t dump_size;
+};
+GetSize(
+  IN int32_t fromTrans,
+  IN int32_t fromDate,
+  OUT volintSize *size
+) = VOLGETSIZE;