SNMP Manager Programmer's Guide

Programming Examples
SNMP Manager Programmer’s Guide–134249
2-142
SNMPHOST Source Code
case 6: /* disks */
nCapInMB = GetDiskCapacity (pDevTableEntry) >> 10; <--50
printf (" Disk Capacity (%4d MB)", nCapInMB);
break;
case 10: /* video */
printf (" (video device)");
break;
case 11: /* audio */
printf (" (audio device)");
break;
case 12: /* coprocessor */
printf (" (coprocessor device)");
break;
case 13: /* keyboard */
printf (" (keyboard device)");
break;
case 14: /* modem */
printf (" (modem device )");
break;
case 15: /* parallel port */
printf (" (parallel port device)");
break;
case 16: /* pointing */
printf (" (pointing device)");
break;
case 17: /* serial port */
printf (" (serial port device)");
break;
case 18: /* tape */
printf (" (tape device)");
break;
Example 2-18. Contents of snmphosc (page 17 of 23)