FreeBSD/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c
/**
 * Create a new entry into the device table.
 */
Create a new entry into the device table.
Create a new entry into the device table .
static struct device_entry *
device_entry_create_devinfo(const struct devinfo_dev *dev_p)
{
	assert(dev_p->dd_name != NULL);
	assert(dev_p->dd_location != NULL);
	return (device_entry_create(dev_p->dd_name, dev_p->dd_location,
	    dev_p->dd_desc));
}
static struct device_entry * device_entry_create_devinfo ( const struct devinfo_dev * dev_p ) { assert ( dev_p -> dd_name != NULL ) ; assert ( dev_p -> dd_location != NULL ) ; return ( device_entry_create ( dev_p -> dd_name , dev_p -> dd_location , dev_p -> dd_desc ) ) ; }
Create a new entry into the device table.
Create a new entry into the device table .