/* Return value: 0 on success, non-zero on failure (same as returned by last run of the callback).  */
int nodemgr_for_each_host(void *data, int(*cb)(struct hpsb_host *, void *))
/* Return value: 0 on success, non-zero on failure (same as returned by last run of the callback).  */
int nodemgr_for_each_host(void *data, int(*cb)(struct hpsb_host *, void *))
{
	struct per_host_parameter p;
	p.cb = cb;
	p.data = data;
	return class_for_each_device(&hpsb_host_class, NULL, &p, per_host);
}