/*
 * Update.h
 *
 * Declarations of the external vars/fns in Update.c
 * (my combination/modification of Stefan's two update programs)
 */

#ifndef update_h
#define update_h

extern char *upd8_err;		/* Used to hold the reason for failure */


/* These two functions perform the update (_lh for Lurking Horror, _sh for 	*/
/* Sherlock) on 'story_file' using 'cnv_file'.  The output is a data file  	*/
/* (named with tmpnam).													   	*/
/* Returns:																	*/
/*		NULL to indicate failure (upd8_err contains a message)				*/
/*	or                                                                      */
/*		the filename of the data file created.								*/

extern char *update_lh( char *story_file, char *cnv_file );
extern char *update_sh( char *story_file, char *cnv_file );

#endif

