diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-01-16 01:19:38 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-01-16 01:19:38 +0000 |
| commit | ca1042d3d05e5e9b2b5094b04197c96ec3b34bfe (patch) | |
| tree | 6a2cb733509e5a3692efa952e1c3bc5503c25355 /module/factotum.m | |
| parent | e84ac69296d2bd901d9d5dba59a1873fc6fb7cc1 (diff) | |
20080116-0125
Diffstat (limited to 'module/factotum.m')
| -rw-r--r-- | module/factotum.m | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/module/factotum.m b/module/factotum.m index 6dd98d93..85165ebd 100644 --- a/module/factotum.m +++ b/module/factotum.m @@ -33,4 +33,23 @@ Factotum: module dump: fn(a: array of byte): string; setdebug: fn(i: int); + + Aattr, Aval, Aquery: con iota; + + Attr: adt { + tag: int; + name: string; + val: string; + + text: fn(a: self ref Attr): string; + }; + + parseattrs: fn(s: string): list of ref Attr; + copyattrs: fn(l: list of ref Attr): list of ref Attr; + delattr: fn(l: list of ref Attr, n: string): list of ref Attr; + takeattrs: fn(l: list of ref Attr, names: list of string): list of ref Attr; + findattr: fn(l: list of ref Attr, n: string): ref Attr; + findattrval: fn(l: list of ref Attr, n: string): string; + publicattrs: fn(l: list of ref Attr): list of ref Attr; + attrtext: fn(l: list of ref Attr): string; }; |
