X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=cups%2Flanguage.h;h=b5ec7e1803a9270b0610f04b74b7555a4ba7db49;hb=c674bfbe2b057aeb453276f6088e082264f73d0c;hp=91d2012bd9da0b80325250eafa8ba16856818da5;hpb=321d8d57dacf00e4ae19558dc9444519f4d9ade1;p=thirdparty%2Fcups.git diff --git a/cups/language.h b/cups/language.h index 91d2012bd..b5ec7e180 100644 --- a/cups/language.h +++ b/cups/language.h @@ -1,18 +1,10 @@ /* - * "$Id: language.h 6649 2007-07-11 21:46:42Z mike $" + * Multi-language support for CUPS. * - * Multi-language support for CUPS. + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. * - * Copyright 2007-2011 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/". - * - * 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_ @@ -34,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 */ @@ -98,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 6649 2007-07-11 21:46:42Z mike $". - */