1N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 1N/A * Use is subject to license terms. 1N/A * Licensed under the Academic Free License version 2.1 1N/A#
define NP(x) (x?x:
"NULL")
1N/A /* most printers listen on the appsocket port (9100) */ 1N/A * This would be a good place to detect other types of devices or other 1N/A * device capabilities. scanners, removable media, storage, ... 1N/A /* have we already seen this network device */ 1N/A HAL_DEBUG((
"scan_for_devices_using_snmp(0x%8.8x, %s, %s, %s)",
1N/A /* initialize the SNMP session */ 1N/A /* initialize the request PDU */ 1N/A /* add the requested data (everyone should have a sysDescr.0) */ 1N/A /* detect any new devices */ 1N/A /* add the newly detected devices */