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

1.1       root        1: /* smux.h - SMUX include file */
                      2: 
                      3: /* 
                      4:  * $Header: /f/osi/snmp/RCS/smux.h,v 1.2 90/02/19 15:38:48 mrose Exp $
                      5:  *
                      6:  * Contributed by NYSERNet Inc.  This work was partially supported by the
                      7:  * U.S. Defense Advanced Research Projects Agency and the Rome Air Development
                      8:  * Center of the U.S. Air Force Systems Command under contract number
                      9:  * F30602-88-C-0016.
                     10:  *
                     11:  *
                     12:  * $Log:       smux.h,v $
                     13:  * Revision 1.2  90/02/19  15:38:48  mrose
                     14:  * one more time
                     15:  * 
                     16:  * Revision 1.1  90/02/17  10:38:29  mrose
                     17:  * smux
                     18:  * 
                     19:  */
                     20: 
                     21: /*
                     22:  *                               NOTICE
                     23:  *
                     24:  *    Acquisition, use, and distribution of this module and related
                     25:  *    materials are subject to the restrictions of a license agreement.
                     26:  *    Consult the Preface in the User's Manual for the full terms of
                     27:  *    this agreement.
                     28:  *
                     29:  */
                     30: 
                     31: 
                     32: #ifndef        PEPYPATH
                     33: #include <isode/pepy/SNMP-types.h>
                     34: #else
                     35: #include "SNMP-types.h"
                     36: #endif
                     37: 
                     38: /*  */
                     39: 
                     40: #define        readOnly        int_SNMP_operation_readOnly
                     41: #define        readWrite       int_SNMP_operation_readWrite
                     42: #define        delete          int_SNMP_operation_delete
                     43: 
                     44: 
                     45: #define        goingDown               int_SNMP_ClosePDU_goingDown
                     46: #define        unsupportedVersion      int_SNMP_ClosePDU_unsupportedVersion
                     47: #define        packetFormat            int_SNMP_ClosePDU_packetFormat
                     48: #define        protocolError           int_SNMP_ClosePDU_protocolError
                     49: #define        internalError           int_SNMP_ClosePDU_internalError
                     50: #define        authenticationFailure   int_SNMP_ClosePDU_authenticationFailure
                     51: 
                     52: #define        invalidOperation        (-1)
                     53: #define        parameterMissing        (-2)
                     54: #define        systemError             (-3)
                     55: #define        youLoseBig              (-4)
                     56: #define        congestion              (-5)
                     57: #define        inProgress              (-6)
                     58: 
                     59: extern int     smux_errno;
                     60: extern char    smux_info[];
                     61: 
                     62: /*  */
                     63: 
                     64: int    smux_init ();                           /* INIT */
                     65: int    smux_simple_open ();                    /* (simple) OPEN */
                     66: int    smux_close ();                          /* CLOSE */
                     67: int    smux_register ();                       /* REGISTER */
                     68: int    smux_response ();                       /* RESPONSE */
                     69: int    smux_wait ();                           /* WAIT */
                     70: int    smux_trap ();                           /* TRAP */
                     71: 
                     72: char   *smux_error ();                         /* TEXTUAL ERROR */
                     73: 
                     74: /*  */
                     75: 
                     76: struct smuxEntry {
                     77:     char   *se_name;
                     78: 
                     79:     OIDentifier se_identity;
                     80:     char   *se_password;
                     81: 
                     82:     int            se_priority;
                     83: };
                     84: 
                     85: int    setsmuxEntry (), endsmuxEntry ();
                     86: 
                     87: struct smuxEntry *getsmuxEntry ();
                     88: 
                     89: struct smuxEntry *getsmuxEntrybyname ();
                     90: struct smuxEntry *getsmuxEntrybyidentity ();

unix.superglobalmegacorp.com

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