/*static char *SCCSID = "@(#)main.c	6.2 91/01/14";*/
#define SCCSID "@(#)main.c	6.2 91/01/14"
/*
 *	IBM/Microsoft Confidential
 *
 *	Copyright (c) IBM Corporation 1987, 1989
 *	Copyright (c) Microsoft Corporation 1987, 1989
 *
 *	All Rights Reserved
 *
 */

/***	MAIN.C - Top-level routines
 *
 *	RECOVER - CDROM version 1.0
 * Paul Bingman, NWSP
 * Copyright 1988, 1989 Microsoft Corporation
 *
 * This CDROM version was adapted from the Pinball version by
 *	Gregory A. Jones
 *
 *	Modification history:
 *	Paul Bingman  8/22/89  Original CDROM
 */

#define INCL_DOSERRORS
#define INCL_NOPMAPI

#include <os2.h>
#include "defs.h"
#include "ldefs.h"
#include "gdata.h"



/***	recover - main routine
 *
 *	This function is the top-level routine for RECOVER.  It
 *	parses the command line to make sure a file name was typed,
 *	checks the existence of that file, and then recovers the
 *	file.
 *
 *	recover (argc, argv, envp)
 *
 *	ENTRY argc - count of command line arguments (ignored)
 *       argv - list of command line arguments (ignored)
 *       envp - list of environment strings (ignored)
 *
 *	EXIT  Return code is always non-zero (error)
 *
 *	CALLS error_msg()
 *
 *	WARNINGS	None
 *
 *	EFFECTS  None
 */

USHORT pascal
recover(argc, argv, envp)
USHORT  argc;
UCHAR   **argv;
UCHAR   **envp;
{
	error_msg(REC_FUNC_ERROR);				/* display error message */
	return (ERROR_INVALID_FUNCTION);		/*   and exit */

	/*
	 * the following passed variables are referenced
	 * to kill the warning messages from the compiler
	 */

	argc;
	argv;
	envp;
}

/* end of main.c (CDROM - RECOVER) */

