Annotation of 43BSDReno/contrib/isode-beta/dsap/x500as/th-enc.py, revision 1.1.1.1

1.1       root        1: -- th-enc.py - Thorn and RARE defined attribute sytaxes
                      2: 
                      3: -- $Header: /f/osi/dsap/x500as/RCS/th-enc.py,v 7.0 89/11/23 21:50:54 mrose Rel $
                      4: --
                      5: --
                      6: -- $Log:       th-enc.py,v $
                      7: -- Revision 7.0  89/11/23  21:50:54  mrose
                      8: -- Release 6.0
                      9: -- 
                     10: 
                     11: --
                     12: --                               NOTICE
                     13: --
                     14: --    Acquisition, use, and distribution of this module and related
                     15: --    materials are subject to the restrictions of a license agreement.
                     16: --    Consult the Preface in the User's Manual for the full terms of
                     17: --    this agreement.
                     18: --
                     19: --
                     20: 
                     21: 
                     22: Thorn
                     23:        {
                     24:        ccitt
                     25:        data(9)
                     26:        pss(2342)
                     27:        ucl(19200300)
                     28:        thorn(100)
                     29:        directoryDefinitions(1)
                     30:        }
                     31: 
                     32: DEFINITIONS ::=
                     33: 
                     34: %{
                     35: #include <stdio.h>
                     36: #include "quipu/util.h"
                     37: #include "quipu/entry.h"
                     38: 
                     39: extern  LLog    * log_dsap;
                     40: 
                     41: #define encode_UNIV_PrintableString build_UNIV_PrintableString
                     42: #define encode_UNIV_IA5String      build_UNIV_IA5String
                     43: 
                     44: %}
                     45: 
                     46: PREFIXES encode decode print
                     47: 
                     48: BEGIN
                     49: 
                     50: ENCODER encode
                     51: 
                     52: MailBox [[P struct mailbox *]]
                     53:         ::=
                     54:         %{
                     55:                 DLOG(log_dsap, LLOG_TRACE, ("About to encode MailBox"));
                     56:         %}
                     57:         SEQUENCE
                     58:         {
                     59:        mailboxType
                     60:                PrintableString [[s parm->mtype]],
                     61:        mailbox
                     62:                IA5String       [[s parm->mbox]]
                     63:         }
                     64:         %{
                     65:                 DLOG(log_dsap, LLOG_TRACE, ("Done encode MailBox"));
                     66:         %}
                     67: 
                     68: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.