components/net-snmp/sun/agent/modules/entityMib/stdhdr.h
changeset 252 ee0fb1eabcbf
equal deleted inserted replaced
251:f527656d334f 252:ee0fb1eabcbf
       
     1 /*
       
     2  * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
       
     3  *
       
     4  * U.S. Government Rights - Commercial software. Government users are subject
       
     5  * to the Sun Microsystems, Inc. standard license agreement and applicable
       
     6  * provisions of the FAR and its supplements.
       
     7  *
       
     8  *
       
     9  * This distribution may include materials developed by third parties. Sun,
       
    10  * Sun Microsystems, the Sun logo and Solaris are trademarks or registered
       
    11  * trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
       
    12  *
       
    13  */
       
    14 #ifndef STDHDR_H
       
    15 #define STDHDR_H
       
    16 
       
    17 #define LARGE_TABLE		200
       
    18 #define MIB_TRUE        1
       
    19 #define MIB_FALSE       2
       
    20 
       
    21 #define entityMIB 1,3,6,1,2,1,47
       
    22 #define entityMIBObjects entityMIB,1
       
    23 #define entityMIBTraps entityMIB,2
       
    24 #define entityMIBTrapPrefix entityMIBTraps,0
       
    25 #define entityPhysical entityMIBObjects,1
       
    26 #define entPhysicalTable entityPhysical,1
       
    27 #define entPhysicalEntry entPhysicalTable,1
       
    28 #define entPhysicalDesc entPhysicalEntry,2
       
    29 /* 2^31 - 1 limit on all the indexes */
       
    30 #define MAX_ENTITY_INDEX 2147483647
       
    31 
       
    32 typedef long int_l; /* This is a workaround for ASN.c unable to handle 
       
    33                        int data type properly
       
    34                        in a 64 bit environment */
       
    35 
       
    36 
       
    37 #endif /* STDHDR_H */