|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 2516 (0x9d4)
Types: TextFile
Names: »smp.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦697af93db⟧ »EurOpenD3/network/snmp/mit-snmp.tar.Z«
└─⟦57bbcbe75⟧
└─⟦this⟧ »./snmp/smp.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦925ee6880⟧ »EurOpenD3/network/snmp/mit-snmp.900225.tar.Z«
└─⟦a4bfa469c⟧
└─⟦this⟧ »./snmp/smp.h«
#ifndef _SMP_H_
#define _SMP_H_
/*
* $Header: smp.h,v 1.1 89/01/11 22:09:51 jrd Exp $
* Author: J. Davin
* Copyright 1988, 1989, Massachusetts Institute of Technology
* See permission and disclaimer notice in file "notice.h"
*/
#include <notice.h>
#include <ctypes.h>
#include <error.h>
#include <aps.h>
typedef CUnswType SmpIdType;
typedef CUnswType SmpSocketType;
typedef ErrStatusType SmpStatusType;
typedef SmpStatusType (*SmpHandlerType) ();
typedef SmpStatusType (*SmpSendFnType) ();
typedef enum SmpErrorTag {
smpErrorNone,
smpErrorTooBig,
smpErrorNoSuch,
smpErrorBadValue,
smpErrorReadOnly,
smpErrorGeneric
} SmpErrorType;
typedef enum SmpCommandTag {
smpCommandGet,
smpCommandNext,
smpCommandRsp,
smpCommandSet,
smpCommandTrap
} SmpCommandType;
typedef enum SmpKindTag {
smpKindNone,
smpKindInteger,
smpKindOctetString,
smpKindIPAddr,
smpKindOpaque,
smpKindCounter,
smpKindGuage,
smpKindTimeTicks,
smpKindObjectId,
smpKindNull
} SmpKindType;
typedef enum SmpTrapTag {
smpTrapColdStart,
smpTrapWarmStart,
smpTrapLinkDown,
smpTrapLinkUp,
smpTrapAuthenticationFailure,
smpTrapEgpNeighborLoss,
smpTrapEnterpriseSpecific
} SmpTrapType;
typedef CIntlType SmpSequenceType;
typedef CUnssType SmpIndexType;
typedef CUnsfType SmpLengthType;
typedef CBytePtrType SmpNameType;
typedef CBytePtrType SmpValueType;
typedef CUnslType SmpNumberType;
typedef struct SmpBindTag {
SmpLengthType smpBindNameLen;
SmpNameType smpBindName;
SmpKindType smpBindKind;
SmpLengthType smpBindValueLen;
SmpValueType smpBindValue;
SmpNumberType smpBindNumber;
} SmpBindType;
typedef SmpBindType *SmpBindPtrType;
typedef struct SmpRequestTag {
SmpCommandType smpRequestCmd;
ApsIdType smpRequestCommunity;
SmpSequenceType smpRequestId;
SmpErrorType smpRequestError;
SmpIndexType smpRequestIndex;
SmpLengthType smpRequestEnterpriseLen;
SmpNameType smpRequestEnterprise;
SmpLengthType smpRequestAgentLen;
SmpValueType smpRequestAgent;
SmpTrapType smpRequestGenericTrap;
SmpNumberType smpRequestSpecificTrap;
SmpNumberType smpRequestTimeStamp;
SmpIndexType smpRequestCount;
SmpBindPtrType smpRequestBinds;
} SmpRequestType;
typedef SmpRequestType *SmpRequestPtrType;
SmpIdType smpNew ();
SmpIdType smpFree ();
CVoidType smpInit ();
SmpStatusType smpInput ();
SmpStatusType smpRequest ();
#endif /* _SMP_H_ */