Blame catgets/nl_types.h

Packit Service 82fcde
/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
Packit Service 82fcde
   This file is part of the GNU C Library.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 82fcde
   modify it under the terms of the GNU Lesser General Public
Packit Service 82fcde
   License as published by the Free Software Foundation; either
Packit Service 82fcde
   version 2.1 of the License, or (at your option) any later version.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 82fcde
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 82fcde
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 82fcde
   Lesser General Public License for more details.
Packit Service 82fcde
Packit Service 82fcde
   You should have received a copy of the GNU Lesser General Public
Packit Service 82fcde
   License along with the GNU C Library; if not, see
Packit Service 82fcde
   <http://www.gnu.org/licenses/>.  */
Packit Service 82fcde
Packit Service 82fcde
#ifndef _NL_TYPES_H
Packit Service 82fcde
#define _NL_TYPES_H 1
Packit Service 82fcde
Packit Service 82fcde
#include <features.h>
Packit Service 82fcde
Packit Service 82fcde
/* The default message set used by the gencat program.  */
Packit Service 82fcde
#define NL_SETD 1
Packit Service 82fcde
Packit Service 82fcde
/* Value for FLAG parameter of `catgets' to say we want XPG4 compliance.  */
Packit Service 82fcde
#define NL_CAT_LOCALE 1
Packit Service 82fcde
Packit Service 82fcde
Packit Service 82fcde
__BEGIN_DECLS
Packit Service 82fcde
Packit Service 82fcde
/* Message catalog descriptor type.  */
Packit Service 82fcde
typedef void *nl_catd;
Packit Service 82fcde
Packit Service 82fcde
/* Type used by `nl_langinfo'.  */
Packit Service 82fcde
typedef int nl_item;
Packit Service 82fcde
Packit Service 82fcde
/* Open message catalog for later use, returning descriptor.
Packit Service 82fcde
Packit Service 82fcde
   This function is a possible cancellation point and therefore not
Packit Service 82fcde
   marked with __THROW.  */
Packit Service 82fcde
extern nl_catd catopen (const char *__cat_name, int __flag) __nonnull ((1));
Packit Service 82fcde
Packit Service 82fcde
/* Return translation with NUMBER in SET of CATALOG; if not found
Packit Service 82fcde
   return STRING.  */
Packit Service 82fcde
extern char *catgets (nl_catd __catalog, int __set, int __number,
Packit Service 82fcde
		      const char *__string) __THROW __nonnull ((1));
Packit Service 82fcde
Packit Service 82fcde
/* Close message CATALOG.  */
Packit Service 82fcde
extern int catclose (nl_catd __catalog) __THROW __nonnull ((1));
Packit Service 82fcde
Packit Service 82fcde
__END_DECLS
Packit Service 82fcde
Packit Service 82fcde
#endif /* nl_types.h  */