structure_convert_enum_value_c

	status.i4.v = structure_convert_enum_value_c(name.i1a.r,
						     field_number.i4.v,
						     enum_value.i4.v,
						     max_return.i4.v,
						     text.i1a.r)

	This routine converts an enumerated field value for a
	named structure to a string.

	name		null terminated structure name
			(Note: The name format is [{class}.]{struct}.)
	field_number	field number
	enum_value	enumerated value to convert to text
	max_return	maximum number of characters to return (not including
			the null terminator)
	text		returned null terminated text string

	This function returns status values as follows:

	OK			success
	CLIB_MEMFAIL		dynamic memory allocation failed
	CLIB_NO_SUCH		structure name was not found
	CLIB_INVARG		field doesn't exist or is not enumerated or
				the enumerated value does not exist

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	structure_field_data, structure_field_info, structure_size_c,
	structure_get_defaults_c, structure_name_exists, structure_get_names_c,
	structure_menu_c, structure_edit_c, structure_cache,
	structure_convert_floats_c, structure_build_name, structure_parse_name,
	structure_get_description

	C/C++ usage:

	static const char	name[] = "my class.my structure";
	char	text[MAX_RETURN+1];
	int	status;
	int	field_number = 0;
	int	enum_value = 1;
	int	max_return = MAX_RETURN;

	status = structure_convert_enum_value_c(name,field_number,enum_value,
						max_return,text);