Update copyright notices with scripts/update-copyrights
[glibc.git] / locale / bits / locale.h
blob481228f6865aa01faeed593f6402710ad5a4c908
1 /* Definition of locale category symbol values.
2 Copyright (C) 2001-2014 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #if !defined _LOCALE_H && !defined _LANGINFO_H
20 # error "Never use <bits/locale.h> directly; include <locale.h> instead."
21 #endif
23 #ifndef _BITS_LOCALE_H
24 #define _BITS_LOCALE_H 1
26 #define __LC_CTYPE 0
27 #define __LC_NUMERIC 1
28 #define __LC_TIME 2
29 #define __LC_COLLATE 3
30 #define __LC_MONETARY 4
31 #define __LC_MESSAGES 5
32 #define __LC_ALL 6
33 #define __LC_PAPER 7
34 #define __LC_NAME 8
35 #define __LC_ADDRESS 9
36 #define __LC_TELEPHONE 10
37 #define __LC_MEASUREMENT 11
38 #define __LC_IDENTIFICATION 12
40 #endif /* bits/locale.h */