' This is file xlocale.bi
' (FreeBasic binding for C-library)
'
' (C) 2011 Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net
' translated with help of h_2_bi.bas
' (http://www.freebasic-portal.de/downloads/ressourcencompiler/h2bi-bas-134.html)
'
' Licence:
' This library binding is free software; you can redistribute it
' and/or modify it under the terms of the GNU Lesser General Public
' License as published by the Free Software Foundation; either
' version 2 of the License, or (at your option) ANY later version.
'
' This binding is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
' Lesser General Public License for more details, refer to:
' http://www.gnu.org/licenses/lgpl.html
'
'
' Original license text:
'
'/* Definition of locale datatype.
   'Copyright (C) 1997,2000,2002,2009,2010 Free Software Foundation, Inc.
   'This file is part of the GNU C Library.
   'Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.

   'The GNU C Library is free software; you can redistribute it and/or
   'modify it under the terms of the GNU Lesser General Public
   'License as published by the Free Software Foundation; either
   'version 2.1 of the License, or (at your option) any later version.

   'The GNU C Library is distributed in the hope that it will be useful,
   'but WITHOUT ANY WARRANTY; without even the implied warranty of
   'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   'Lesser General Public License for more details.

   'You should have received a copy of the GNU Lesser General Public
   'License along with the GNU C Library; if not, write to the Free
   'Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   '02111-1307 USA.  */

#IFNDEF _XLOCALE_H
#DEFINE _XLOCALE_H 1

TYPE AS __locale_struct PTR __locale_t

TYPE __locale_struct
  AS __locale_data PTR __locales(12)
  AS CONST USHORT PTR __ctype_b
  AS CONST INTEGER PTR __ctype_tolower
  AS CONST INTEGER PTR __ctype_toupper
  AS CONST ZSTRING PTR __names(12)
END TYPE

TYPE AS __locale_t locale_t

#ENDIF ' _XLOCALE_H
