Annotation of 43BSDReno/contrib/isode-beta/h/quipu/nrs_info.h, revision 1.1.1.1

1.1       root        1: /* nrs_info.h - attribute structure for representing NRS information */
                      2: 
                      3: /*
                      4:  *                               NOTICE
                      5:  *
                      6:  *    Acquisition, use, and distribution of this module and related
                      7:  *    materials are subject to the restrictions of a license agreement.
                      8:  *    Consult the Preface in the User's Manual for the full terms of
                      9:  *    this agreement.
                     10:  *
                     11:  */
                     12: 
                     13: 
                     14: #ifndef QUIPUNRSINFO
                     15: #define QUIPUNRSINFO
                     16: 
                     17: #include "psap.h"
                     18: 
                     19: struct str_seq
                     20: {
                     21:        char            * ss_str;
                     22:        struct str_seq  * ss_next;
                     23: };
                     24: 
                     25: /* Defined values for contexts */
                     26: #define        NRS_Context_UNKNOWN     -1
                     27: #define        NRS_Context_X29 0
                     28: #define        NRS_Context_TS29        1
                     29: #define        NRS_Context_NIFTP       2
                     30: #define        NRS_Context_MAIL_NIFTP  3
                     31: #define        NRS_Context_NOT_USED    4
                     32: #define        NRS_Context_MAIL_TELEX  5
                     33: #define        NRS_Context_JTMP        6
                     34: #define        NRS_Context_JTMP_FILES  7
                     35: #define        NRS_Context_JTMP_REG    8
                     36: #define        NRS_Context_YBTS_NODE   9
                     37: #define        NRS_Context_YBTS        10
                     38: #define        NRS_Context_FTAM        11
                     39: #define        NRS_Context_JTM 12
                     40: #define        NRS_Context_JTM_REG     13
                     41: #define        NRS_Context_VT  14
                     42: #define        NRS_Context_MOTIS       15
                     43: 
                     44: /* Defined values for address space identifiers */
                     45: #define        NRS_Address_Space_Id_PSS        0
                     46: #define        NRS_Address_Space_Id_JANET      1
                     47: #define        NRS_Address_Space_Id_TELEX      2
                     48: #define        NRS_Address_Space_Id_OSI_CONS   3
                     49: 
                     50: struct addr_info
                     51: {
                     52:        int                       addr_info_type;
                     53: #define        ADDR_INFO_DTE_ONLY                      1
                     54: #define        ADDR_INFO_DTE_APPLIC_INFO               2
                     55: #define        ADDR_INFO_DTE_CUDF                      3
                     56: #define        ADDR_INFO_DTE_CUDF_APPLIC_INFO          4
                     57: #define        ADDR_INFO_DTE_YBTS                      5
                     58: #define        ADDR_INFO_DTE_YBTS_APPLIC_INFO          6
                     59: #define        ADDR_INFO_DTE_YBTS_APPLIC_RELAY         7
                     60: #define        ADDR_INFO_NONE_NEEDED                   8
                     61: #define        ADDR_INFO_OSI_ADDRESSING                9
                     62: #define        ADDR_INFO_OSI_NSAP_ONLY                 10
                     63: #define        ADDR_INFO_OSI_NSAP_APPLIC_INFO          11
                     64: #define        ADDR_INFO_OSI_NSAP_APPLIC_RELAY         12
                     65: #define        ADDR_INFO_DTE_YBTS_OSI_ADDRESSING       13
                     66: 
                     67:        char            * dte_number;
                     68:        char            * cudf;
                     69:        char            * ybts_string;
                     70:        char            * nsap;
                     71:        char            * tselector;
                     72:        char            * sselector;
                     73:        char            * pselector;
                     74:        PE                place_holder;
                     75:        PE                application_title;
                     76:        PE                per_app_context_info;
                     77:        struct str_seq  * applic_info;
                     78:        struct str_seq  * applic_relay;
                     79: };
                     80: 
                     81: struct nrs_routes
                     82: {
                     83:        PE                        cost;
                     84:        struct addr_info        * addr_info;
                     85:        struct nrs_routes       * next;
                     86: };
                     87: 
                     88: struct nrs_info
                     89: {
                     90:        int                       context;
                     91:        int                       addr_sp_id;
                     92:        struct nrs_routes       * routes;
                     93: };
                     94: 
                     95: #endif

unix.superglobalmegacorp.com

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