/*
- * "$Id: language.h 4903 2006-01-10 20:02:46Z mike $"
+ * Multi-language support for CUPS.
*
- * Multi-language support for the Common UNIX Printing System (CUPS).
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Easy Software Products and are protected by Federal
- * copyright law. Distribution and use rights are outlined in the file
- * "LICENSE.txt" which should have been included with this file. If this
- * file is missing or damaged please contact Easy Software Products
- * at:
- *
- * Attn: CUPS Licensing Information
- * Easy Software Products
- * 44141 Airport View Drive, Suite 204
- * Hollywood, Maryland 20636 USA
- *
- * Voice: (301) 373-9600
- * EMail: cups-info@cups.org
- * WWW: http://www.cups.org
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
*/
#ifndef _CUPS_LANGUAGE_H_
* Types...
*/
-typedef enum cups_encoding_e /**** Language Encodings ****/
+typedef enum cups_encoding_e /**** Language Encodings @exclude all@ ****/
{
CUPS_AUTO_ENCODING = -1, /* Auto-detect the encoding @private@ */
CUPS_US_ASCII, /* US ASCII */
CUPS_KOI8_U, /* KOI-8-U */
CUPS_ISO8859_11, /* ISO-8859-11 */
CUPS_ISO8859_16, /* ISO-8859-16 */
- CUPS_ENCODING_SBCS_END = 63, /* End of single-bybte encodings @private@ */
+ CUPS_MAC_ROMAN, /* MacRoman */
+ CUPS_ENCODING_SBCS_END = 63, /* End of single-byte encodings @private@ */
CUPS_WINDOWS_932, /* Japanese JIS X0208-1990 */
CUPS_WINDOWS_936, /* Simplified Chinese GB 2312-80 */
CUPS_EUC_JP, /* EUC Japanese */
CUPS_EUC_KR, /* EUC Korean */
CUPS_EUC_TW, /* EUC Traditional Chinese */
+ CUPS_JIS_X0213, /* JIS X0213 aka Shift JIS */
CUPS_ENCODING_VBCS_END = 191 /* End of variable-length encodings @private@ */
} cups_encoding_t;
* Prototypes...
*/
-extern cups_lang_t *cupsLangDefault(void);
-extern const char *cupsLangEncoding(cups_lang_t *lang);
-extern void cupsLangFlush(void);
-extern void cupsLangFree(cups_lang_t *lang);
-extern cups_lang_t *cupsLangGet(const char *language);
+extern cups_lang_t *cupsLangDefault(void) _CUPS_PUBLIC;
+extern const char *cupsLangEncoding(cups_lang_t *lang) _CUPS_PUBLIC;
+extern void cupsLangFlush(void) _CUPS_PUBLIC;
+extern void cupsLangFree(cups_lang_t *lang) _CUPS_PUBLIC;
+extern cups_lang_t *cupsLangGet(const char *language) _CUPS_PUBLIC;
# ifdef __cplusplus
}
# endif /* __cplusplus */
#endif /* !_CUPS_LANGUAGE_H_ */
-
-/*
- * End of "$Id: language.h 4903 2006-01-10 20:02:46Z mike $".
- */