summaryrefslogtreecommitdiff
path: root/module/fsproto.m
diff options
context:
space:
mode:
Diffstat (limited to 'module/fsproto.m')
-rw-r--r--module/fsproto.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/module/fsproto.m b/module/fsproto.m
new file mode 100644
index 00000000..26bbaa56
--- /dev/null
+++ b/module/fsproto.m
@@ -0,0 +1,10 @@
+FSproto: module
+{
+ PATH: con "/dis/lib/fsproto.dis";
+
+ Direntry: type (string, string, ref Sys->Dir);
+
+ init: fn(): string;
+ readprotofile: fn(proto: string, root: string, entries: chan of Direntry, warnings: chan of (string, string)): string;
+ readprotostring: fn(proto: string, root: string, entries: chan of Direntry, warnings: chan of (string, string));
+};