From: David Howells Date: Wed, 7 Feb 2018 06:55:16 +0000 (+0000) Subject: xg: Define VOLSER.GetSize X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a5f9d5110b8debc605f5f74aaa32dd3171ecf29c;p=users%2Fdhowells%2Fkafs-utils.git xg: Define VOLSER.GetSize Signed-off-by: David Howells --- diff --git a/rpc-api/volumeserver.xg b/rpc-api/volumeserver.xg index 2e4dc9d..2a96c4a 100644 --- a/rpc-api/volumeserver.xg +++ b/rpc-api/volumeserver.xg @@ -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;