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

1.1       root        1: /* tailor.h - ISODE tailoring */
                      2: 
                      3: /* 
                      4:  * $Header: /f/osi/h/RCS/tailor.h,v 7.1 90/07/09 14:38:07 mrose Exp $
                      5:  *
                      6:  *
                      7:  * $Log:       tailor.h,v $
                      8:  * Revision 7.1  90/07/09  14:38:07  mrose
                      9:  * sync
                     10:  * 
                     11:  * Revision 7.0  89/11/23  21:56:05  mrose
                     12:  * Release 6.0
                     13:  * 
                     14:  */
                     15: 
                     16: /*
                     17:  *                               NOTICE
                     18:  *
                     19:  *    Acquisition, use, and distribution of this module and related
                     20:  *    materials are subject to the restrictions of a license agreement.
                     21:  *    Consult the Preface in the User's Manual for the full terms of
                     22:  *    this agreement.
                     23:  *
                     24:  */
                     25: 
                     26: 
                     27: #ifndef        _TAILOR_
                     28: #define        _TAILOR_
                     29: 
                     30: #ifndef        _LOGGER_
                     31: #include "logger.h"
                     32: #endif
                     33: 
                     34: 
                     35: /* SYSTEM AREAS */
                     36: 
                     37: extern char    *isodename;
                     38: extern char    *isodebinpath;
                     39: extern char    *isodesbinpath;
                     40: extern char    *isodetcpath;
                     41: extern char    *isodelogpath;
                     42: 
                     43: 
                     44: /* LOGGING */
                     45: 
                     46: extern LLog *compat_log, _compat_log;
                     47: extern LLog *addr_log, _addr_log;
                     48: extern LLog *tsap_log, _tsap_log;
                     49: extern LLog *ssap_log, _ssap_log;
                     50: extern LLog *psap_log, _psap_log;
                     51: extern LLog *psap2_log, _psap2_log;
                     52: extern LLog *acsap_log, _acsap_log;
                     53: extern LLog *rtsap_log, _rtsap_log;
                     54: extern LLog *rosap_log, _rosap_log;
                     55: 
                     56: 
                     57: /* TRANSPORT-SWITCH */
                     58: 
                     59: extern int     ts_stacks;
                     60: #define        TS_NONE 0x00
                     61: #define        TS_TCP  0x01
                     62: #define        TS_X25  0x02
                     63: #define        TS_BRG  0x04
                     64: #define        TS_TP4  0x08
                     65: #define        TS_ALL  0xff
                     66: 
                     67: struct ts_interim {
                     68:     char   *ts_name;           /* community name, also MACRO name */
                     69:     char   *ts_value;          /*   .. MACRO value */
                     70: 
                     71:     int            ts_subnet;          /* internal key */
                     72:     int            ts_syntax;          /* same values as na_stack */
                     73: 
                     74:     char    ts_prefix[20];     /* NSAP prefix */
                     75:     int            ts_length;          /*   .. and length */
                     76: };
                     77: extern struct ts_interim ts_interim[];
                     78: 
                     79: extern int     ts_communities[];
                     80: extern int     ts_comm_nsap_default;
                     81: extern int     ts_comm_x25_default;
                     82: extern int     ts_comm_tcp_default;
                     83: 
                     84: extern char *tsb_addresses[];
                     85: extern int tsb_communities[];
                     86: 
                     87: extern char *tsb_default_address;
                     88: 
                     89: 
                     90: 
                     91: /* X.25 */
                     92: 
                     93: #ifdef X25
                     94: extern char    *x25_local_dte;
                     95: extern char    *x25_local_pid;
                     96: 
                     97: extern char     x25_intl_zero;
                     98: extern char     x25_strip_dnic;
                     99: extern char    *x25_dnic_prefix;
                    100: 
                    101: extern u_char   reverse_charge;
                    102: extern u_short  recvpktsize;
                    103: extern u_short  sendpktsize;
                    104: extern u_char   recvwndsize;
                    105: extern u_char   sendwndsize;
                    106: extern u_char   recvthruput;
                    107: extern u_char   sendthruput;
                    108: extern u_char   cug_req;
                    109: extern u_char   cug_index;
                    110: extern u_char   fast_select_type;
                    111: extern u_char   rpoa_req;
                    112: extern u_short  rpoa;
                    113: 
                    114: extern LLog *x25_log, _x25_log;
                    115: 
                    116: #ifdef CAMTEC_CCL
                    117: extern char     x25_outgoing_port;
                    118: #endif
                    119: #endif
                    120: 
                    121: 
                    122: /* BRIDGE X.25 */
                    123: 
                    124: #ifdef BRIDGE_X25
                    125: extern char    *x25_bridge_host;
                    126: extern char    *x25_bridge_addr;
                    127: extern char    *x25_bridge_listen;
                    128: extern char    *x25_bridge_pid;
                    129: extern char    *x25_bridge_discrim;
                    130: #endif
                    131: 
                    132: #if    defined (BRIDGE_X25) || defined (X25)
                    133: extern u_short  x25_bridge_port;
                    134: #endif
                    135: 
                    136: 
                    137: /* USER-FRIENDLY NAMESERVICE */
                    138: 
                    139: extern char    ns_enabled;
                    140: extern char    *ns_address;
                    141: 
                    142: 
                    143: /* ROUTINES */
                    144: 
                    145: void   isodetailor ();
                    146: int    isodesetvar ();
                    147: void   isodexport ();
                    148: 
                    149: #define        isodefile(file,ispgm) \
                    150:        _isodefile ((ispgm) ? isodesbinpath : isodetcpath, (file))
                    151: 
                    152: char   *_isodefile ();
                    153: 
                    154: char   *getlocalhost ();
                    155: 
                    156: #endif

unix.superglobalmegacorp.com

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