]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/language.h
Fix typos in snprintf/vsnprintf emulation code.
[thirdparty/cups.git] / cups / language.h
index 94f7bf81a622b4e1002690f3526dfe680aa26449..b5ec7e1803a9270b0610f04b74b7555a4ba7db49 100644 (file)
@@ -1,27 +1,10 @@
 /*
- * "$Id: language.h 5085 2006-02-06 13:27:53Z 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_
@@ -43,7 +26,7 @@ extern "C" {
  * 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 */
@@ -76,7 +59,7 @@ typedef enum cups_encoding_e          /**** Language Encodings ****/
   CUPS_ISO8859_11,                     /* ISO-8859-11 */
   CUPS_ISO8859_16,                     /* ISO-8859-16 */
   CUPS_MAC_ROMAN,                      /* MacRoman */
-  CUPS_ENCODING_SBCS_END = 63,         /* End of single-bybte encodings @private@ */
+  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 */
@@ -89,6 +72,7 @@ typedef enum cups_encoding_e          /**** Language Encodings ****/
   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;
 
@@ -106,18 +90,14 @@ typedef struct cups_lang_s         /**** Language Cache Structure ****/
  * 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 5085 2006-02-06 13:27:53Z mike $".
- */