aboutsummaryrefslogtreecommitdiffstats
path: root/cups/language-private.h
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2017-05-11 09:37:47 -0700
committerPhilip P. Moltmann <moltmann@google.com>2017-05-11 09:39:41 -0700
commit2447373f182dbfeb47fb86c0f5a6ac5773c65ac2 (patch)
tree61c08d7f0c7e77cbfc67f07d6e5c2dbebd28ace5 /cups/language-private.h
parente78fa6dfe24e5677481967b8827478e9b8cbc5e8 (diff)
downloadplatform_external_libcups-2447373f182dbfeb47fb86c0f5a6ac5773c65ac2.tar.gz
platform_external_libcups-2447373f182dbfeb47fb86c0f5a6ac5773c65ac2.tar.bz2
platform_external_libcups-2447373f182dbfeb47fb86c0f5a6ac5773c65ac2.zip
Bug: 38203442 Test: built Change-Id: I8f363c71c291363514100690ca7f8c463d98eb78
Diffstat (limited to 'cups/language-private.h')
-rw-r--r--cups/language-private.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/cups/language-private.h b/cups/language-private.h
index a597cd3f..49e4b713 100644
--- a/cups/language-private.h
+++ b/cups/language-private.h
@@ -1,14 +1,14 @@
/*
* Private localization support for CUPS.
*
- * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2007-2017 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Apple Inc. 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
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * missing or damaged, see the license at "http://www.cups.org/".
*
* This file is subject to the Apple OS-Developed Software exception.
*/
@@ -22,6 +22,9 @@
# include <stdio.h>
# include <cups/transcode.h>
+# ifdef __APPLE__
+# include <CoreFoundation/CoreFoundation.h>
+# endif /* __APPLE__ */
# ifdef __cplusplus
extern "C" {
@@ -51,8 +54,8 @@ typedef struct _cups_message_s /**** Message catalog entry ****/
*/
# ifdef __APPLE__
-extern const char *_cupsAppleLanguage(const char *locale, char *language,
- size_t langsize);
+extern const char *_cupsAppleLanguage(const char *locale, char *language, size_t langsize);
+extern const char *_cupsAppleLocale(CFStringRef languageName, char *locale, size_t localesize);
# endif /* __APPLE__ */
extern void _cupsCharmapFlush(void);
extern const char *_cupsEncodingName(cups_encoding_t encoding);