18#ifndef MAGICKCORE_LOCALE_H
19#define MAGICKCORE_LOCALE_H
21#include "magick/hashmap.h"
23#if defined(__cplusplus) || defined(c_plusplus)
45extern MagickExport
char
46 **GetLocaleList(
const char *,
size_t *,ExceptionInfo *);
48extern MagickExport
const char
49 *GetLocaleMessage(
const char *);
51extern MagickExport
const LocaleInfo
52 *GetLocaleInfo_(
const char *,ExceptionInfo *),
53 **GetLocaleInfoList(
const char *,
size_t *,ExceptionInfo *);
55extern MagickExport
double
56 InterpretLocaleValue(
const char *magick_restrict,
char **magick_restrict);
58extern MagickExport
int
59 LocaleCompare(
const char *,
const char *) magick_attribute((__pure__)),
60 LocaleLowercase(
const int),
61 LocaleNCompare(
const char *,
const char *,
const size_t)
62 magick_attribute((__pure__)),
63 LocaleUppercase(
const int);
65extern MagickExport LinkedListInfo
66 *DestroyLocaleOptions(LinkedListInfo *),
67 *GetLocaleOptions(
const char *,ExceptionInfo *);
69extern MagickExport MagickBooleanType
70 ListLocaleInfo(FILE *,ExceptionInfo *),
71 LocaleComponentGenesis(
void);
73extern MagickExport ssize_t
74 FormatLocaleFile(FILE *,
const char *magick_restrict,...)
75 magick_attribute((__format__ (__printf__,2,3))),
76 FormatLocaleFileList(FILE *,const
char *magick_restrict,va_list)
77 magick_attribute((__format__ (__printf__,2,0))),
78 FormatLocaleString(
char *magick_restrict,const
size_t,
79 const
char *magick_restrict,...)
80 magick_attribute((__format__ (__printf__,3,4))),
81 FormatLocaleStringList(
char *magick_restrict,const
size_t,
82 const
char *magick_restrict,
83 va_list) magick_attribute((__format__ (__printf__,3,0)));
85extern MagickExport
void
86 LocaleComponentTerminus(
void),
90#if defined(__cplusplus) || defined(c_plusplus)