diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2004-04-27 20:26:05 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2004-04-27 20:26:05 -0400 |
commit | 2cd8e80bfe2792ce8999a26b34384598f58e3889 (patch) | |
tree | 780917a289058c7d05e893a8a1b3dc88d4a7030f /src/LYCharSets.h | |
parent | bff0a2c0390cf1536254ea168d2581cc9550325f (diff) | |
download | lynx-snapshots-2cd8e80bfe2792ce8999a26b34384598f58e3889.tar.gz |
snapshot of project "lynx", label v2-8-6dev_2
Diffstat (limited to 'src/LYCharSets.h')
-rw-r--r-- | src/LYCharSets.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/LYCharSets.h b/src/LYCharSets.h index 051e9c90..3e8f8d6c 100644 --- a/src/LYCharSets.h +++ b/src/LYCharSets.h @@ -30,24 +30,24 @@ extern int current_char_set; * Initializer, calls initialization function for the * CHARTRANS handling. - KW */ -extern int LYCharSetsDeclared NOPARAMS; +extern int LYCharSetsDeclared (void); -extern CONST char ** LYCharSets[]; -extern CONST char * SevenBitApproximations[]; -extern CONST char ** p_entity_values; -extern CONST char * LYchar_set_names[]; /* Full name, not MIME */ +extern const char ** LYCharSets[]; +extern const char * SevenBitApproximations[]; +extern const char ** p_entity_values; +extern const char * LYchar_set_names[]; /* Full name, not MIME */ extern int LYlowest_eightbit[]; extern int LYNumCharsets; extern LYUCcharset LYCharSet_UC[]; -extern int UCGetLYhndl_byAnyName PARAMS((char *value)); -extern void HTMLSetCharacterHandling PARAMS((int i)); -extern void HTMLSetUseDefaultRawMode PARAMS((int i, BOOLEAN modeflag)); -extern void HTMLUseCharacterSet PARAMS((int i)); -extern UCode_t HTMLGetEntityUCValue PARAMS((CONST char *name)); -extern void Set_HTCJK PARAMS((CONST char *inMIMEname, CONST char *outMIMEname)); - -extern CONST char * HTMLGetEntityName PARAMS((UCode_t code)); +extern int UCGetLYhndl_byAnyName (char *value); +extern void HTMLSetCharacterHandling (int i); +extern void HTMLSetUseDefaultRawMode (int i, BOOLEAN modeflag); +extern void HTMLUseCharacterSet (int i); +extern UCode_t HTMLGetEntityUCValue (const char *name); +extern void Set_HTCJK (const char *inMIMEname, const char *outMIMEname); + +extern const char * HTMLGetEntityName (UCode_t code); /* ** HTMLGetEntityName calls LYEntityNames for iso-8859-1 entity ** names only. This is an obsolete technique but widely used in @@ -87,14 +87,14 @@ extern int display_charset_map[]; extern int assumed_doc_charset_map[]; /* these arrays are NULL terminated */ -extern CONST char* display_charset_choices[]; -extern CONST char* assumed_charset_choices[]; +extern const char* display_charset_choices[]; +extern const char* assumed_charset_choices[]; extern int displayed_display_charset_idx; #endif /* this will be called after lynx.cfg and .lynxrc are read */ -extern void init_charset_subsets NOPARAMS; +extern void init_charset_subsets (void); #endif /* EXP_CHARSET_CHOICE */ #if !defined(NO_AUTODETECT_DISPLAY_CHARSET) @@ -116,8 +116,8 @@ enum switch_display_charset_t { SWITCH_DISPLAY_CHARSET_REALLY, SWITCH_DISPLAY_CHARSET_RESIZE }; -extern int Switch_Display_Charset PARAMS((int ord, enum switch_display_charset_t really)); -extern int Find_Best_Display_Charset PARAMS((int ord)); +extern int Switch_Display_Charset (int ord, enum switch_display_charset_t really); +extern int Find_Best_Display_Charset (int ord); extern char *charsets_directory; extern char *charset_switch_rules; extern int switch_display_charsets; |