/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72Q src/bos/usr/include/nl_types.h 1.24.1.1                         */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1988,2019              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/* @(#)88	1.24.1.1  src/bos/usr/include/nl_types.h, libcmsg, bos72Q, q2019_13A4 2/6/19 00:45:11 */

/*
 * COMPONENT_NAME: LIBCMSG
 *
 * FUNCTIONS:
 *
 * ORIGINS: 27
 *
 * (C) COPYRIGHT International Business Machines Corp. 1988, 1994
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *
 */

#ifndef _H_NL_TYPES
#define _H_NL_TYPES

#ifndef _H_STANDARDS
#include <standards.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif

#ifdef _XOPEN_SOURCE
typedef int nl_item;
typedef struct _catalog_descriptor *nl_catd;

#define NL_SETD 	1  				
#define NL_CAT_LOCALE 	1  				

#ifdef _NO_PROTO
extern nl_catd catopen();
extern char  *catgets();
extern int catclose();
#else
extern nl_catd catopen(const char *, int);
extern char  *catgets(nl_catd, int, int, const char *);
extern int catclose(nl_catd);
#endif /* _NO_PROTO */
#endif /* _XOPEN_SOURCE */

#ifdef __cplusplus
}
#endif

#ifdef _ALL_SOURCE

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _catalog_descriptor CATD;

#ifdef	_NO_PROTO
nl_catd NLcatopen();
char *	NLgetamsg();
char *NLcatgets();
char *catgetmsg();
#else
nl_catd NLcatopen(char*, int);
extern char *NLgetamsg(char*, int, int, char*);
extern char *NLcatgets(nl_catd, int, int, char *);
extern char *catgetmsg(nl_catd, int, int, char*, int);
#endif	/* _NO_PROTO */

#ifdef __cplusplus
}
#endif

#ifndef _H_MESG
#include <mesg.h>
#endif

#endif /* _ALL_SOURCE */

#endif /* _H_NL_TYPES */
