sr_make_save_file_c

	status.i4.v = sr_make_save_file_c(title.i1a.r, file_number.i4.v,
					  protection.i4.v, num_items.i4.v,
					  save_items.sa.r, options.u4.v,
					  output_func.f.v, output_data.g.v,
					  abort_func.f.v)

	This routine will initiate a save of device values in a standard
	Save/Restore file.

	title		null terminated file title
			(up to SR_TITLE_LEN characters)
	file_number	file number to save in
			(If this number is in the range 900-999, 1100-1199,
			 or 1200-1299, this will be big save of the entire
			 control system.  All of the other arguments to
			 this routine including the title will be ignored.)
	protection	protection code
			(SR_PROTECT_NONE -> no protection,
			 SR_PROTECT_OPERATOR -> operator level protection)
	num_items	number of items to save
	save_items	items to save which can include individual devices,
			save lists and D1 user save lists
			(array of structures of type SR_SAVE_ITEM)
	options		save options (not presently used)
			(SRMNGR_OPT_NONE -> no options selected)
	output_func	callback function to be called each time a line
			of output is generated
			(called as follows:
			 output_func(output_func_data.g.v, output_string.i1a.r)
			(A value of NULL can be passed for this argument
			 if this functionality is not desired.)
	output_data	address of data to be passed to "output_func"
	abort_func	callback function to allow the caller to abort a
			save while the request is being built
			(If this function returns a value other than FALSE,
			 the entire save will be aborted.)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_INVARG		invalid file number, protection, or number
				of items passed
	CLIB_NO_SUCH		nothing to save
	CLIB_BUSY		a save is already in progress
	SQL_xxx			error retrieving save list information
	ACNET_xxx		error communicating with the save process

	This function requires the following include files:

	cnsparam_h, clib_h, cbslib_h, acnet_errors_h

	Related functions:

	sr_restore_device_c, sr_save_list_name_to_devices_c, sr_save_list_names,
	sr_expand_save_items_c, sr_find_device_save_lists_c,
	sr_user_save_list_devices_from_node_c

	C/C++ usage:

	static const char	title[] = "My save file";
	int	status;
	int	file_number = FILE_NUMBER;
	int	protection = SR_PROTECT_NONE;
	int	num_items = NUM_ITEMS;
	unsigned int	options = SRMNGR_OPT_NONE;
	void	*output_data = (void *) NULL;
	SR_SAVE_ITEM	save_items[NUM_ITEMS];
	void	output_func(void *output_data, char *output_string);
	int	abort_func(void);

	status = sr_make_save_file_c(title,file_number,protection,num_items,
				     save_items,options,output_func,
				     output_data,abort_func);