DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦d90d955f2⟧ TextFile

    Length: 925 (0x39d)
    Types: TextFile
    Names: »dl-dec.py«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Chans/dirlist/dl-dec.py« 

TextFile

-- dl-dec.py: 


-- @(#) $Header: /cs/research/pp/hubris/pp-beta/Chans/dirlist/RCS/dl-dec.py,v 5.0 90/09/20 15:46:32 pp Exp Locker: pp $
--
-- $Log:	dl-dec.py,v $
-- Revision 5.0  90/09/20  15:46:32  pp
-- rcsforce : 5.0 public release
-- 
--



DL

DEFINITIONS ::=

%{
#include "dlist.h"
%}

PREFIXES encode decode print

BEGIN

DECODER decode

DlPolicy [[P struct dl_policy *]]
        ::=
	SET %{
		parm->dp_expand = TRUE;
		parm->dp_convert = DP_ORIGINAL;
		parm->dp_priority = DP_LOW;
	    %}
        {
	furtherExpansionPermitted [0] 
		BOOLEAN [[b parm->dp_expand]]
		-- DEFAULT TRUE
		OPTIONAL 
		,
	conversionProhibited [1] 
		ENUMERATED  [[i parm->dp_convert]]
		{
			original (1),
			false (2),
			true (3)
		}
		-- DEFAULT original
		OPTIONAL
		,
	priority [2]
                ENUMERATED  [[i parm->dp_priority]]
		{
			original (1),
			low (2),
			normal (3),
			high (4)
		}
		-- DEFAULT low
		OPTIONAL
	}		
END