MagickCore
6.8.5
locale_.h
Go to the documentation of this file.
1
/*
2
Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization
3
dedicated to making software imaging solutions freely available.
4
5
You may not use this file except in compliance with the License.
6
obtain a copy of the License at
7
8
http://www.imagemagick.org/script/license.php
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
16
MagickCore locale methods.
17
*/
18
#ifndef _MAGICKCORE_LOCALE_H
19
#define _MAGICKCORE_LOCALE_H
20
21
#if defined(__cplusplus) || defined(c_plusplus)
22
extern
"C"
{
23
#endif
24
25
#include "
magick/hashmap.h
"
26
27
typedef
struct
_LocaleInfo
28
{
29
char
30
*
path
,
31
*
tag
,
32
*
message
;
33
34
MagickBooleanType
35
stealth
;
36
37
struct
_LocaleInfo
38
*
previous
,
39
*
next
;
/* deprecated, use GetLocaleInfoList() */
40
41
size_t
42
signature
;
43
}
LocaleInfo
;
44
45
extern
MagickExport
char
46
**
GetLocaleList
(
const
char
*,
size_t
*,
ExceptionInfo
*);
47
48
extern
MagickExport
const
char
49
*
GetLocaleMessage
(
const
char
*);
50
51
extern
MagickExport
const
LocaleInfo
52
*
GetLocaleInfo_
(
const
char
*,
ExceptionInfo
*),
53
**
GetLocaleInfoList
(
const
char
*,
size_t
*,
ExceptionInfo
*);
54
55
extern
MagickExport
double
56
InterpretLocaleValue
(
const
char
*restrict,
char
**restrict);
57
58
extern
MagickExport
LinkedListInfo
59
*
DestroyLocaleOptions
(
LinkedListInfo
*),
60
*
GetLocaleOptions
(
const
char
*,
ExceptionInfo
*);
61
62
extern
MagickExport
MagickBooleanType
63
ListLocaleInfo
(FILE *,
ExceptionInfo
*),
64
LocaleComponentGenesis
(
void
);
65
66
extern
MagickExport
ssize_t
67
FormatLocaleFile
(FILE *,
const
char
*restrict,...)
68
magick_attribute
((__format__ (__printf__,2,3))),
69
FormatLocaleFileList
(FILE *,const
char
*restrict,va_list)
70
magick_attribute
((__format__ (__printf__,2,0))),
71
FormatLocaleString
(
char
*restrict,const
size_t
,const
char
*restrict,...)
72
magick_attribute
((__format__ (__printf__,3,4))),
73
FormatLocaleStringList
(
char
*restrict,const
size_t
,const
char
*restrict,
74
va_list)
magick_attribute
((__format__ (__printf__,3,0)));
75
76
extern
MagickExport
void
77
LocaleComponentTerminus
(
void
);
78
79
#if defined(__cplusplus) || defined(c_plusplus)
80
}
81
#endif
82
83
#endif
magick
locale_.h
Generated by
1.8.1.2