"Fossies" - the Fresh Open Source Software Archive

Member "npadmin-0.14/npaoids.h" (22 Nov 2002, 7631 Bytes) of package /linux/misc/old/npadmin-0.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* Copyright (c) 2002 Ben Woodard
    2  * All rights reserved.
    3  *
    4  * This program is free software; you can redistribute it and/or
    5  * modify it under the terms of the GNU General Public Licence
    6  * as published by the Free Software Foundation; either version 2
    7  * of the Licence, or (at your option) any later version.
    8  *
    9  * This program is distributed in the hope that it will be useful,
   10  * but WITHOUT ANY WARRENTY; without even the implied warrenty of
   11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   12  * GNU General Public Licence in the COPYING file for more
   13  * details.
   14  *
   15  * You should have received a copy of the GNU Library General 
   16  * Public License along with the GNU C Library; see the file 
   17  * COPYING.LIB.  If not, write to the:
   18  *    Free Software Foundation Inc.
   19  *    59 Temple Place - Suite 330
   20  *    Boston, MA 02111-1307, USA. 
   21  */
   22 
   23 #ifndef __NPAOIDS_H__
   24 #define __NPAOIDS_H__
   25 
   26 /* These are from the private mibs */
   27 #define _HPINFO_ "1.3.6.1.4.1.11.2.3.9.1.1.7.0" // undocumented
   28 // These are from enterprises.hp.nm
   29 //   interface.npCard.npSys.npSysStatusMessage.0
   30 #define _HPNPSYSSTATUSMESSAGE_ "1.3.6.1.4.1.11.2.4.3.1.2.0"
   31 //   system.net_peripheral.net_printer.generalDeviceStatus.gdStatusDisplay.0
   32 #define _HPNPGDSTATUSDISPLAY_ "1.3.6.1.4.1.11.2.3.9.1.1.3.0"
   33 #define _HPNPPAGECOUNT_ "1.3.6.1.4.1.11.2.3.9.4.2.2.10.2.1.4.1.1"
   34 //   interface.npCard.npCfg.npCfgSource.0
   35 #define _HPNPCFGSOURCE_ "1.3.6.1.4.1.11.2.4.3.5.1.0"
   36 //   interface.npCard.npCtl.npCtlReconfig.0
   37 #define _HPREBOOT_ "1.3.6.1.4.1.11.2.4.3.7.8.0"
   38 
   39 /* These are from some unknown MIB. They are for the purpose of
   40    upgrading the firmware of printers. */
   41 #define _HPICFDOWNLOADSTATUS_ "1.3.6.1.4.1.11.2.14.11.1.3.1.1.10.1"
   42 #define _HPICFDOWNLOADTDOMAIN_ "1.3.6.1.4.1.11.2.14.11.1.3.1.1.5.1"
   43 #define _HPICFDOWNLOADTADDRESS_ "1.3.6.1.4.1.11.2.14.11.1.3.1.1.4.1"
   44 #define _HPICFDOWNLOADFILENAME_ "1.3.6.1.4.1.11.2.14.11.1.3.1.1.6.1"
   45 
   46 /* Don't blame me for these long names. They are right out of 
   47    the RFC's */
   48 #define _SYSDESC_ "1.3.6.1.2.1.1.1.0"
   49 #define _SYSCONTACT_ "1.3.6.1.2.1.1.4.0"
   50 #define _SYSUPTIME_ "1.3.6.1.2.1.1.3.0"
   51 #define _SYSLOCATION_ "1.3.6.1.2.1.1.6.0"
   52 #define _IFTYPE_ "1.3.6.1.2.1.2.2.1.3.1"
   53 #define _IFPHYSICALADDRESS_ "1.3.6.1.2.1.2.2.1.6.1"
   54 #define _IPROUTENEXTHOP_ "1.3.6.1.2.1.4.21.1.7.0.0.0.0"
   55 #define _HRDEVICEDESC_ "1.3.6.1.2.1.25.3.2.1.3.1"
   56 #define _HRMEMORYSIZE_ "1.3.6.1.2.1.25.2.2.0"
   57 #define _HRMEMORYSIZE1_ "1.3.6.1.2.1.25.2.2.1"
   58 #define _HRPRINTERSTATUS_ "1.3.6.1.2.1.25.3.5.1.1.1"
   59 #define _TKMODEL_ "1.3.6.1.4.1.128.2.1.3.1.2.0"
   60 
   61 #define _IPENTNETMASK_BASE_ "1.3.6.1.2.1.4.20.1.3"
   62 #define _TCPCONNSTATE_BASE_ "1.3.6.1.2.1.6.13.1.1"
   63 #define _TCPCONNREMADDRESS_BASE_ "1.3.6.1.2.1.6.13.1.4"
   64 #define _IFTYPE_BASE_ "1.3.6.1.2.1.2.2.1.3"
   65 #define _IFPHYSICALADDRESS_BASE_ "1.3.6.1.2.1.2.2.1.6"
   66 #define _HRSSTORAGEDESCR_BASE_ "1.3.6.1.2.1.25.2.3.1.3"
   67 #define _HRSTORAGEALLOCATIONUNITS_BASE_ "1.3.6.1.2.1.25.2.3.1.4"
   68 #define _HRSTORAGESIZE_BASE_ "1.3.6.1.2.1.25.2.3.1.5"
   69 #define _HRSTORAGEUSED_BASE_ "1.3.6.1.2.1.25.2.3.1.6"
   70 #define _HRSTORAGEALLOCATIONFAILURES_BASE_ "1.3.6.1.2.1.25.2.3.1.7"
   71 
   72 #define _PRTMEDIAPATHMAXSPEEDPRINTUNIT_BASE_ "1.3.6.1.2.1.43.13.4.1.2"
   73 #define _PRTMEDIAPATHMEDIASIZEUNIT_BASE_ "1.3.6.1.2.1.43.13.4.1.3"
   74 #define _PRTMEDIAPATHMAXSPEED_BASE_ "1.3.6.1.2.1.43.13.4.1.4"
   75 #define _PRTMEDIAPATHMAXMEDIAFEEDDIR_BASE_ "1.3.6.1.2.1.43.13.4.1.5"
   76 #define _PRTMEDIAPATHMAXMEDIAXFEEDDIR_BASE_ "1.3.6.1.2.1.43.13.4.1.6"
   77 #define _PRTMEDIAPATHMINMEDIAFEEDDIR_BASE_ "1.3.6.1.2.1.43.13.4.1.7"
   78 #define _PRTMEDIAPATHMINMEDIAXFEEDDIR_BASE_ "1.3.6.1.2.1.43.13.4.1.8"
   79 #define _PRTMEDIAPATHTYPE_BASE_ "1.3.6.1.2.1.43.13.4.1.9"
   80 #define _PRTMEDIAPATHDESCRIPTION_BASE_ "1.3.6.1.2.1.43.13.4.1.10"
   81 #define _PRTMEDIAPATHSTATUS_BASE_ "1.3.6.1.2.1.43.13.4.1.11"
   82 #define _PRTCONSOLEDISPLAYBUFFERTEXT_BASE_ "1.3.6.1.2.1.43.16.5.1.2"
   83 #define _PRTINPUTTYPE_BASE_ "1.3.6.1.2.1.43.8.2.1.2"
   84 #define _PRTINPUTDIMUNIT_BASE_ "1.3.6.1.2.1.43.8.2.1.3"
   85 #define _PRTINPUTMEDIADIMFEEDDIRCHOSEN_BASE_ "1.3.6.1.2.1.43.8.2.1.6"
   86 #define _PRTINPUTMEDIADIMXFEEDDIRCHOSEN_BASE_ "1.3.6.1.2.1.43.8.2.1.7"
   87 #define _PRTINPUTCAPACITYUNIT_BASE_ "1.3.6.1.2.1.43.8.2.1.8"
   88 #define _PRTINPUTMAXCAPACITY_BASE_ "1.3.6.1.2.1.43.8.2.1.9"
   89 #define _PRTINPUTCURRENTLEVEL_BASE_ "1.3.6.1.2.1.43.8.2.1.10"
   90 #define _PRTINPUTINPUTSTATUS_BASE_ "1.3.6.1.2.1.43.8.2.1.11"
   91 #define _PRTINPUTMEDIANAME_BASE_ "1.3.6.1.2.1.43.8.2.1.12"
   92 #define _PRTINPUTNAME_BASE_ "1.3.6.1.2.1.43.8.2.1.13"
   93 #define _PRTINPUTINPUTDESCRIPTION_BASE_ "1.3.6.1.2.1.43.8.2.1.18"
   94 #define _PRTINTERPRETERLANGFAMILY_BASE_ "1.3.6.1.2.1.43.15.1.1.2"
   95 #define _PRTINTERPRETERLANGLEVEL_BASE_ "1.3.6.1.2.1.43.15.1.1.3"
   96 #define _PRTINTERPRETERLANGVERSION_BASE_ "1.3.6.1.2.1.43.15.1.1.4"
   97 #define _PRTINTERPRETERDESCRIPTION_BASE_ "1.3.6.1.2.1.43.15.1.1.5"
   98 #define _PRTINTERPRETERVERSION_BASE_ "1.3.6.1.2.1.43.15.1.1.6"
   99 #define _PRTINTERPRETERDEFAULTORIENTATION_BASE_ "1.3.6.1.2.1.43.15.1.1.7"
  100 #define _PRTINTERPRETERFEEDADDRESSABILITY_BASE_ "1.3.6.1.2.1.43.15.1.1.8"
  101 #define _PRTINTERPRETERXFEEDADDRESSABILITY_BASE_ "1.3.6.1.2.1.43.15.1.1.9"
  102 #define _PRTINTERPRETERTWOWAY_BASE_ "1.3.6.1.2.1.43.15.1.1.12"
  103 #define _PRTCOVERDESCRIPTION_BASE_ "1.3.6.1.2.1.43.6.1.1.2"
  104 #define _PRTCOVERSTATUS_BASE_ "1.3.6.1.2.1.43.6.1.1.3"
  105 #define _PRTCHANNELTYPE_BASE_ "1.3.6.1.2.1.43.14.1.1.2"
  106 #define _PRTCHANNELPROTOCOLVERSION_BASE_ "1.3.6.1.2.1.43.14.1.1.3"
  107 #define _PRTCHANNELCURRENTJOBCNTLLANGINDEX_BASE_ "1.3.6.1.2.1.43.14.1.1.4"
  108 #define _PRTCHANNELDEFAULTPAGEDESCLANGINDEX_BASE_ "1.3.6.1.2.1.43.14.1.1.5"
  109 #define _PRTCHANNELSTATE_BASE_ "1.3.6.1.2.1.43.14.1.1.6"
  110 #define _PRTCHANNELSTATUS_BASE_ "1.3.6.1.2.1.43.14.1.1.8"
  111 #define _PRTMARKERMARKTECH_BASE_     "1.3.6.1.2.1.43.10.2.1.2"
  112 #define _PRTMARKERCOUNTERUNITS_BASE_ "1.3.6.1.2.1.43.10.2.1.3"
  113 #define _PRTMARKERLIFECOUNT_BASE_    "1.3.6.1.2.1.43.10.2.1.4"
  114 #define _PRTMARKERPROCESSCOLORANTS_BASE_ "1.3.6.1.2.1.43.10.2.1.6"
  115 #define _PRTMARKERADDRESSABILITYUNIT_BASE_ "1.3.6.1.2.1.43.10.2.1.8"
  116 #define _PRTMARKERADDRESSABILITYFEEDDIR_BASE_ "1.3.6.1.2.1.43.10.2.1.9"
  117 #define _PRTMARKERADDRESSABILITYXFEEDDIR_BASE_ "1.3.6.1.2.1.43.10.2.1.10"
  118 #define _PRTMARKERNORTHMARGIN_BASE_ "1.3.6.1.2.1.43.10.2.1.11"
  119 #define _PRTMARKERSOUTHMARGIN_BASE_ "1.3.6.1.2.1.43.10.2.1.12"
  120 #define _PRTMARKERWESTMARGIN_BASE_ "1.3.6.1.2.1.43.10.2.1.13"
  121 #define _PRTMARKEREASTMARGIN_BASE_ "1.3.6.1.2.1.43.10.2.1.14"
  122 #define _PRTMARKERSTATUS_BASE_ "1.3.6.1.2.1.43.10.2.1.15"
  123 #define _PRTMARKERSUPPLIESCOLORANTINDEX_BASE_ "1.3.6.1.2.1.43.11.1.1.3"
  124 #define _PRTMARKERSUPPLIESCLASS_BASE_ "1.3.6.1.2.1.43.11.1.1.4"
  125 #define _PRTMARKERSUPPLIESTYPE_BASE_ "1.3.6.1.2.1.43.11.1.1.5"
  126 #define _PRTMARKERSUPPLIESDESCRIPTION_BASE_ "1.3.6.1.2.1.43.11.1.1.6"
  127 #define _PRTMARKERSUPPLIESSUPPLYUNIT_BASE_ "1.3.6.1.2.1.43.11.1.1.7"
  128 #define _PRTMARKERSUPPLIESMAXCAPACITY_BASE_ "1.3.6.1.2.1.43.11.1.1.8"
  129 #define _PRTMARKERSUPPLIESLEVEL_BASE_ "1.3.6.1.2.1.43.11.1.1.9"
  130 #define _PRTALERTSEVERITYLEVEL_BASE_ "1.3.6.1.2.1.43.18.1.1.2"
  131 #define _PTRALERTTRAININGLEVEL_BASE_ "1.3.6.1.2.1.43.18.1.1.3"
  132 #define _PRTALERTGROUP_BASE_ "1.3.6.1.2.1.43.18.1.1.4"
  133 #define _PRTALERTGROUPINDEX_BASE_ "1.3.6.1.2.1.43.18.1.1.5"
  134 #define _PRTALERTLOCATION_BASE_ "1.3.6.1.2.1.43.18.1.1.6"
  135 #define _PRTALERTCODE_BASE_ "1.3.6.1.2.1.43.18.1.1.7"
  136 #define _PRTALERTDESCRIPTION_BASE_ "1.3.6.1.2.1.43.18.1.1.8"
  137 #define _PRTALERTTIME_BASE_ "1.3.6.1.2.1.43.18.1.1.9"
  138 #define _PRTGENERALRESET_ "1.3.6.1.2.1.43.5.1.1.3.1"
  139 #define _PRTGENERALSERIALNUMBER_ "1.3.6.1.2.1.43.5.1.1.17.1"
  140  
  141 /* These are used in multiple locations and so they are defined 
  142    one place to be used both. */
  143 extern char SYSCONTACT[];
  144 extern char SYSLOCATION[];
  145 #endif