frig_next_house_c (ul_friglib)

	status.i4.v = frig_next_house_c(house.ch.d, next_house.i1a.r
					[,direction.i4.v] [,house_index.i4.r]
					[,house_type.i4.v] [,house_class.i4.v])

	This routine returns the next valid refrigerator house name in order.

	house		present house name (HOUSE_NAME_LEN characters)
	next_house	returned next house name
			(HOUSE_NAME_LEN characters)
	[direction]	directional flag
			(FRIG_NEXT_HOUSE -> return next house (default),
			 FRIG_PREVIOUS_HOUSE -> return previous house)
	[house_index]	returned overall house index
	[house_type]	type of houses to choose from
			(FRIG_ALL_HOUSES -> all houses (default),
			 FRIG_FRIG_HOUSES -> normal refrigerator houses only,
			 FRIG_COMP_HOUSES -> compressor houses only)
	[house_class]	class of houses to choose from
			(FRIG_ALL_HOUSES -> all houses (default),
			 FRIG_AGGREGATE_HOUSE -> house which is a logical
						 aggregation of component
						 houses,
			 FRIG_COMPONENT_HOUSE -> house which is a member of an
						 aggregate house,
			 FRIG_STANDALONE_HOUSE -> house which does not
						  participate in an aggregate)
			(different classes can be ORed together)

	This function returns ACNET status values as follows:

	CBS_OK			success
	CBS_INVARG		invalid direction or house type argument
	CBS_NO_SUCH		invalid present house name

	This function requires the following include files:

	cnsparam_h, ul_friglib_h:friguti_h, acnet_errors_h

	Related functions:

	frig_house_select_init_c, frig_house_select_update_c,
	frig_house_select_set_c, frig_house_menu_c, frig_verify_house_c,
	frig_house_to_node

	C usage:

	static const char	house[HOUSE_NAME_LEN+1] = "A1";
	char	next_house[HOUSE_NAME_LEN];
	int	status;
	int	direction = FRIG_NEXT_HOUSE;
	int	house_index;
	int	house_type = FRIG_FRIG_HOUSES;
	int	house_class = FRIG_ALL_HOUSES;

	status = frig_next_house_c(house,next_house,direction,&house_index,
				   house_type,house_class);