about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/UCMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/UCMap.h')
-rw-r--r--WWW/Library/Implementation/UCMap.h71
1 files changed, 30 insertions, 41 deletions
diff --git a/WWW/Library/Implementation/UCMap.h b/WWW/Library/Implementation/UCMap.h
index 66c24f0f..b45e99cc 100644
--- a/WWW/Library/Implementation/UCMap.h
+++ b/WWW/Library/Implementation/UCMap.h
@@ -7,42 +7,33 @@
 
 typedef long UCode_t;
 
-extern int UCTransUniChar (
-	UCode_t		unicode,
-	int		charset_out);
-extern int UCTransUniCharStr (
-	char *		outbuf,
-	int		buflen,
-	UCode_t		unicode,
-	int		charset_out,
-	int		chk_single_flag);
-extern int UCTransChar (
-	char		ch_in,
-	int		charset_in,
-	int		charset_out);
-extern int UCReverseTransChar (
-	char		ch_out,
-	int		charset_in,
-	int		charset_out);
-extern int UCTransCharStr (
-	char *		outbuf,
-	int		buflen,
-	char		ch_in,
-	int		charset_in,
-	int		charset_out,
-	int		chk_single_flag);
-extern UCode_t UCTransToUni (
-	char		ch_in,
-	int		charset_in);
-extern int UCGetRawUniMode_byLYhndl (
-	int		i);
-extern int UCGetLYhndl_byMIME (
-	const char *	p); /* returns -1 if name not recognized */
-extern int safeUCGetLYhndl_byMIME (
-	const char *	p); /* returns LATIN1 if name not recognized */
+extern int UCTransUniChar(UCode_t unicode,
+			  int charset_out);
+extern int UCTransUniCharStr(char *outbuf,
+			     int buflen,
+			     UCode_t unicode,
+			     int charset_out,
+			     int chk_single_flag);
+extern int UCTransChar(char ch_in,
+		       int charset_in,
+		       int charset_out);
+extern int UCReverseTransChar(char ch_out,
+			      int charset_in,
+			      int charset_out);
+extern int UCTransCharStr(char *outbuf,
+			  int buflen,
+			  char ch_in,
+			  int charset_in,
+			  int charset_out,
+			  int chk_single_flag);
+extern UCode_t UCTransToUni(char ch_in,
+			    int charset_in);
+extern int UCGetRawUniMode_byLYhndl(int i);
+extern int UCGetLYhndl_byMIME(const char *p);	/* returns -1 if name not recognized */
+extern int safeUCGetLYhndl_byMIME(const char *p);	/* returns LATIN1 if name not recognized */
 
 #ifdef EXP_LOCALE_CHARSET
-extern void LYFindLocaleCharset (void);
+extern void LYFindLocaleCharset(void);
 #endif
 
 extern int UCLYhndl_for_unspec;
@@ -51,12 +42,12 @@ extern int UCLYhndl_HTFile_for_unspec;
 extern int UCLYhndl_HTFile_for_unrec;
 
 /* easy to type: */
-extern int LATIN1;     /* UCGetLYhndl_byMIME("iso-8859-1") */
-extern int US_ASCII;   /* UCGetLYhndl_byMIME("us-ascii")   */
-extern int UTF8_handle;	/* UCGetLYhndl_byMIME("utf-8")      */
+extern int LATIN1;		/* UCGetLYhndl_byMIME("iso-8859-1") */
+extern int US_ASCII;		/* UCGetLYhndl_byMIME("us-ascii")   */
+extern int UTF8_handle;		/* UCGetLYhndl_byMIME("utf-8")      */
 
-#undef TRANSPARENT	/* defined on Solaris in <sys/stream.h> */
-extern int TRANSPARENT; /* UCGetLYhndl_byMIME("x-transparent")  */
+#undef TRANSPARENT		/* defined on Solaris in <sys/stream.h> */
+extern int TRANSPARENT;		/* UCGetLYhndl_byMIME("x-transparent")  */
 
 /*
 In general, Lynx translates letters from document charset to display charset.
@@ -76,7 +67,6 @@ UCLYhndl_for_unrec  -  in case a charset parameter is not recognized;
 UCLYhndl_HTFile_for_unrec  - the same but only for local files,
                              currently not used.
 
-
 current_char_set  -	this corresponds to "display charset",
 			declared in LYCharSets.c and really important.
 
@@ -87,7 +77,6 @@ from user's error in configuration file lynx.cfg or command line switches,
 those unrecognized MIME names are assumed as LATIN1 (via safeUCGetLYhndl...).
 */
 
-
 #define UCTRANS_NOTFOUND (-4)
 
 #endif /* UCMAP_H */