LYRegisterUIPage(*newfile, UIP_DOWNLOAD_OPTIONS);
PUBLIC int LYdownload_options ARGS2(	char **,	newfile,	char *, 	data_file){    static char tempfile[LY_MAXPATH];    char *downloaded_url = NULL;    char *sug_filename = NULL;    FILE *fp0;    lynx_html_item_type *cur_download;    int count;    /*     *	Get a suggested filename.     */    StrAllocCopy(sug_filename, *newfile);    change_sug_filename(sug_filename);    LYRemoveTemp(tempfile);    if ((fp0 = LYOpenTemp(tempfile, HTML_SUFFIX, "w")) == NULL) {	HTAlert(CANNOT_OPEN_TEMP);	return(-1);    }    StrAllocCopy(downloaded_url, *newfile);    LYLocalFileToURL(newfile, tempfile);    LYstrncpy(LYValidDownloadFile,	      data_file,	      (sizeof(LYValidDownloadFile) - 1));    LYforce_no_cache = TRUE;  /* don't cache this doc */    BeginInternalPage(fp0, DOWNLOAD_OPTIONS_TITLE, DOWNLOAD_OPTIONS_HELP);    fprintf(fp0, "<pre>\n");    fprintf(fp0, "<em>%s</em> %s\n",    	    gettext("Downloaded link:"),	    downloaded_url);    FREE(downloaded_url);    fprintf(fp0, "<em>%s</em> %s\n",    	    gettext("Suggested file name:"),	    sug_filename);    fprintf(fp0, "\n%s\n",	    (user_mode == NOVICE_MODE)	    ? gettext("Standard download options:")	    : gettext("Download options:"));    if (!no_disk_save && !child_lynx) {#ifdef DIRED_SUPPORT	/*	 *  Disable save to disk option for local files.	 */	if (!lynx_edit_mode)#endif /* DIRED_SUPPORT */	fprintf(fp0,		"   <a href=\"LYNXDOWNLOAD://Method=-1/File=%s/SugFile=%s%s\">%s</a>\n",		data_file,		(lynx_save_space ? lynx_save_space : ""),		sug_filename,		gettext("Save to disk"));    } else {	fprintf(fp0, "   <em>%s</em>\n", gettext("Save to disk disabled."));    }    if (user_mode == NOVICE_MODE)	fprintf(fp0, "\n%s\n", gettext("Local additions:"));    if (downloaders != NULL) {	for (count = 0, cur_download = downloaders; cur_download != NULL;			cur_download = cur_download->next, count++) {	    if (!no_download || cur_download->always_enabled) {		fprintf(fp0, "   <a href=\"LYNXDOWNLOAD://Method=%d/File=%s/SugFile=%s\">",			count,data_file, sug_filename);		fprintf(fp0, "%s", (cur_download->name ?			cur_download->name : gettext("No Name Given")));		fprintf(fp0,"</a>\n");	    }	}    }    fprintf(fp0, "</pre>\n");    EndInternalPage(fp0);    LYCloseTempFP(fp0);    /*     *	Free off temp copy.     */    FREE(sug_filename);    return(0);}