about summary refs log blame commit diff stats
path: root/src/LYOptions.h
blob: ede601341de1ff9a778b0ca283ee5c624b961364 (plain) (tree)





































                                                                                        
/* $LynxId: LYOptions.h,v 1.29 2010/09/25 11:40:36 tom Exp $ */
#ifndef LYOPTIONS_H
#define LYOPTIONS_H

#include <LYStructs.h>
#include <LYStrings.h>

#ifdef __cplusplus
extern "C" {
#endif
    extern BOOLEAN term_options;	/* for LYgetstr() */

    extern BOOLEAN LYCheckUserAgent(void);
    extern void edit_bookmarks(void);
    extern int popup_choice(int cur_choice,
			    int line,
			    int column,
			    const char **choices,
			    int length,
			    int disabled,
			    int mouse);

#define LYChoosePopup(cur, line, column, choices, length, disabled, mouse) \
	popup_choice(cur, line, column, (const char **)choices, length, disabled, mouse)

#ifndef NO_OPTION_FORMS
    extern void LYMenuVisitedLinks(FILE *fp0, int disable_all);
    extern int postoptions(DocInfo *newdoc);
#endif				/* !NO_OPTION_FORMS */

#ifndef NO_OPTION_MENU
    extern void LYoptions(void);
#endif				/* !NO_OPTION_MENU */

#ifdef __cplusplus
}
#endif
#endif				/* LYOPTIONS_H */