1 /* $LynxId: LYOptions.h,v 1.32 2017/01/01 01:51:23 tom Exp $ */ 2 #ifndef LYOPTIONS_H 3 #define LYOPTIONS_H 4 5 #include <LYStructs.h> 6 #include <LYStrings.h> 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 extern BOOLEAN term_options; /* for LYgetstr() */ 12 13 extern BOOLEAN LYCheckUserAgent(void); 14 extern void edit_bookmarks(void); 15 extern int popup_choice(int cur_choice, 16 int line, 17 int column, 18 STRING2PTR choices, 19 int length, 20 int disabled, 21 int mouse); 22 23 #define LYChoosePopup(cur, line, column, choices, length, disabled, mouse) \ 24 popup_choice(cur, line, column, (STRING2PTR) choices, length, disabled, mouse) 25 26 #ifndef NO_OPTION_FORMS 27 extern void LYMenuVisitedLinks(FILE *fp0, int disable_all); 28 extern int postoptions(DocInfo *newdoc); 29 #endif /* !NO_OPTION_FORMS */ 30 31 #ifndef NO_OPTION_MENU 32 extern void LYoptions(void); 33 #endif /* !NO_OPTION_MENU */ 34 35 #ifdef USE_COLOR_STYLE 36 extern void build_lss_enum(HTList *); 37 #endif 38 39 #if defined(USE_COLOR_STYLE) && defined(LY_FIND_LEAKS) 40 extern void free_colorstyle_leaks(void); 41 #endif 42 43 #ifdef __cplusplus 44 } 45 #endif 46 #endif /* LYOPTIONS_H */ 47