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 t

⟦b489ee8d8⟧ TextFile

    Length: 1236 (0x4d4)
    Types: TextFile
    Names: »th-enc.py«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/dsap/x500as/th-enc.py« 

TextFile

-- th-enc.py - Thorn and RARE defined attribute sytaxes

-- $Header: /f/osi/dsap/x500as/RCS/th-enc.py,v 7.0 89/11/23 21:50:54 mrose Rel $
--
--
-- $Log:	th-enc.py,v $
-- Revision 7.0  89/11/23  21:50:54  mrose
-- Release 6.0
-- 

--
--				  NOTICE
--
--    Acquisition, use, and distribution of this module and related
--    materials are subject to the restrictions of a license agreement.
--    Consult the Preface in the User's Manual for the full terms of
--    this agreement.
--
--


Thorn
	{
	ccitt
	data(9)
	pss(2342)
	ucl(19200300)
	thorn(100)
	directoryDefinitions(1)
	}

DEFINITIONS ::=

%{
#include <stdio.h>
#include "quipu/util.h"
#include "quipu/entry.h"

extern  LLog    * log_dsap;

#define encode_UNIV_PrintableString build_UNIV_PrintableString
#define encode_UNIV_IA5String 	    build_UNIV_IA5String

%}

PREFIXES encode decode print

BEGIN

ENCODER encode

MailBox [[P struct mailbox *]]
        ::=
        %{
                DLOG(log_dsap, LLOG_TRACE, ("About to encode MailBox"));
        %}
        SEQUENCE
        {
	mailboxType
		PrintableString [[s parm->mtype]],
	mailbox
		IA5String	[[s parm->mbox]]
        }
        %{
                DLOG(log_dsap, LLOG_TRACE, ("Done encode MailBox"));
        %}

END