From 87fff9d7a08298d20b5783e1fbd92e58b9ce3587 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 25 Oct 2017 19:40:14 +0100 Subject: Configuration types can be local with modern Slicer --- netfs/daemon/daemonConfig.ice | 12 ++++++------ netfs/fuse/fuseConfig.ice | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/netfs/daemon/daemonConfig.ice b/netfs/daemon/daemonConfig.ice index 07fef60..ac438fb 100644 --- a/netfs/daemon/daemonConfig.ice +++ b/netfs/daemon/daemonConfig.ice @@ -1,14 +1,14 @@ module NetFS { module Daemon { - class Host { + local class Host { ["slicer:name:endpoint"] string Endpoint; }; ["slicer:key:hostname","slicer:value:host","slicer:item:host"] - dictionary HostMap; + local dictionary HostMap; - class Export { + local class Export { ["slicer:name:root"] string RootPath; @@ -17,10 +17,10 @@ module NetFS { }; ["slicer:key:name","slicer:value:export","slicer:item:export"] - dictionary ExportMap; + local dictionary ExportMap; ["slicer:root:config"] - class Configuration { + local class Configuration { ["slicer:name:exports"] ExportMap Exports; @@ -29,7 +29,7 @@ module NetFS { }; ["slicer:ignore"] - class RuntimeConfiguration { + local class RuntimeConfiguration { Configuration CurrentConfiguration; Host Self; }; diff --git a/netfs/fuse/fuseConfig.ice b/netfs/fuse/fuseConfig.ice index d4cee41..91740fc 100644 --- a/netfs/fuse/fuseConfig.ice +++ b/netfs/fuse/fuseConfig.ice @@ -1,9 +1,9 @@ module NetFS { module Client { ["slicer:element:endpoint"] - sequence EndpointList; + local sequence EndpointList; - class Resource { + local class Resource { ["slicer:name:export"] string ExportName; @@ -18,10 +18,10 @@ module NetFS { }; ["slicer:key:name","slicer:value:resource","slicer:item:resource"] - dictionary ResourceMap; + local dictionary ResourceMap; ["slicer:root:config"] - class Configuration { + local class Configuration { ["slicer:name:resources"] ResourceMap Resources; }; -- cgit v1.2.3