status.i4.v = remote_program_available_methods(program.i1a.r,

	This routine returns the available remote methods for a program.

	program		name of application program (e.g. "PA1014"); or
			null-terminated name of application page (e.g. "D111")
	num_methods	returned number of methods found for this program
	methods		returned remote method information
			(returned pointer to an array of structures of type
			(Note: The memory for these structures is allocated
			 by the routine and should not be free by the caller.)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_NO_SUCH		no remote program methods found
	CLIB_MEMFAIL		failed in allocating dynamic memory
	otherwise		error accessing remote method information

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, clib_h, acnet_errors_h

	Related functions:

	remote_program_get_method, remote_program_end_request_c,
	remote_program_check, remote_program_get_data,
	remote_program_caller_data, remote_program_get_script,
	run_remote_program_c, remote_program_generate_output,
	chgpgm(_c), acnet_chgpgm, getcmd(_c), putcmd

	C/C++ usage:

	static const char	program[] = "D80";
	int		status;
	int		num_methods;

	status = remote_program_available_methods(program,&num_methods,