File indexing completed on 2025-01-18 10:01:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef MAGICKCORE_LOCALE_H
0019 #define MAGICKCORE_LOCALE_H
0020
0021 #include "MagickCore/linked-list.h"
0022
0023 #if defined(__cplusplus) || defined(c_plusplus)
0024 extern "C" {
0025 #endif
0026
0027 typedef struct _LocaleInfo
0028 {
0029 char
0030 *path,
0031 *tag,
0032 *message;
0033
0034 MagickBooleanType
0035 stealth;
0036
0037 size_t
0038 signature;
0039 } LocaleInfo;
0040
0041 extern MagickExport char
0042 **GetLocaleList(const char *,size_t *,ExceptionInfo *);
0043
0044 extern MagickExport const char
0045 *GetLocaleMessage(const char *);
0046
0047 extern MagickExport const LocaleInfo
0048 *GetLocaleInfo_(const char *,ExceptionInfo *),
0049 **GetLocaleInfoList(const char *,size_t *,ExceptionInfo *);
0050
0051 extern MagickExport double
0052 InterpretLocaleValue(const char *magick_restrict,char *magick_restrict *);
0053
0054 extern MagickExport int
0055 LocaleCompare(const char *,const char *) magick_attribute((__pure__)),
0056 LocaleLowercase(const int),
0057 LocaleNCompare(const char *,const char *,const size_t)
0058 magick_attribute((__pure__)),
0059 LocaleUppercase(const int);
0060
0061 extern MagickExport LinkedListInfo
0062 *DestroyLocaleOptions(LinkedListInfo *),
0063 *GetLocaleOptions(const char *,ExceptionInfo *);
0064
0065 extern MagickExport MagickBooleanType
0066 ListLocaleInfo(FILE *,ExceptionInfo *);
0067
0068 extern MagickExport ssize_t
0069 FormatLocaleFile(FILE *,const char *magick_restrict,...)
0070 magick_attribute((__format__ (__printf__,2,3))),
0071 FormatLocaleString(char *magick_restrict,const size_t,
0072 const char *magick_restrict,...)
0073 magick_attribute((__format__ (__printf__,3,4)));
0074
0075 extern MagickExport void
0076 LocaleLower(char *),
0077 LocaleUpper(char *);
0078
0079 #if defined(__cplusplus) || defined(c_plusplus)
0080 }
0081 #endif
0082
0083 #endif