summaryrefslogtreecommitdiff
path: root/appl/svc/httpd/cache.m
diff options
context:
space:
mode:
Diffstat (limited to 'appl/svc/httpd/cache.m')
-rw-r--r--appl/svc/httpd/cache.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/appl/svc/httpd/cache.m b/appl/svc/httpd/cache.m
new file mode 100644
index 00000000..15c6c59e
--- /dev/null
+++ b/appl/svc/httpd/cache.m
@@ -0,0 +1,9 @@
+Cache : module
+{
+ PATH: con "/dis/svc/httpd/cache.dis";
+
+ cache_init: fn(log : ref Sys->FD, size : int);
+ insert : fn(name: string, ctents: array of byte, length : int, qid:Sys->Qid) : int;
+ find: fn(name : string, qid:Sys->Qid) : (int,array of byte);
+ dump : fn() : list of (string,int,int);
+};