#ifndef __collate_h
   #if __IBMC__ || __IBMCPP__
      #pragma info(none)
      #ifndef __CHKHDR__
         #pragma info(none)
      #endif
      #pragma info(restore)
   #endif

   #define __collate_h

   #if __cplusplus
      extern "C" {
   #endif

   #ifndef _LNK_CONV
      #if __IBMC__ || __IBMCPP__ || defined(_OPTLINK_SUPPORTED)
         #define _LNK_CONV _Optlink
      #else
         #define _LNK_CONV
      #endif
   #endif

   #ifndef _IMPORT
      #ifdef __IMPORTLIB__
         #define _IMPORT _Import
      #else
         #define _IMPORT
      #endif
   #endif

   /********************************************************************/
   /*  <collate.h> Header File                                         */
   /*  IBM C and C++ Compilers for OS/2, AIX and for Windows NT,       */
   /*  Version 3.6                                                     */
   /*  Licensed Material - Property of IBM                             */
   /*  (C) Copyright IBM Corp. 1991, 1997. All rights reserved         */
   /*                                                                  */
   /********************************************************************/

   typedef unsigned short collel_t;

   #if !__cplusplus && !defined __wchar_t
      typedef unsigned short wchar_t;
      #define __wchar_t 1
   #endif

   extern int      _LNK_CONV ismccollel(collel_t);
   extern collel_t _LNK_CONV strtocoll(char *);
   extern char   * _LNK_CONV colltostr(collel_t);
   extern int      _LNK_CONV collequiv(collel_t, collel_t **);
   extern int      _LNK_CONV collrange(collel_t, collel_t, collel_t **);
   extern int      _LNK_CONV collorder(collel_t **);
   extern int      _LNK_CONV cclass(char *, collel_t **list);
   extern collel_t _LNK_CONV maxcoll(void);
   extern collel_t _LNK_CONV getmccoll(char **);
   extern collel_t _LNK_CONV getwmccoll(wchar_t **);
   #if (__IBMC__ || __IBMCPP__) && __LIBANSI__
      #pragma isolated_call(ismccollel)
      #pragma isolated_call(strtocoll)
      #pragma isolated_call(colltostr)
      #pragma isolated_call(collequiv)
      #pragma isolated_call(collrange)
      #pragma isolated_call(collorder)
      #pragma isolated_call(cclass)
      #pragma isolated_call(maxcoll)
      #pragma isolated_call(getmccoll)
      #if __IGNERRNO__
         #pragma isolated_call(getwmccoll)
      #endif
   #endif

   #if __cplusplus
      }
   #endif

   #if __IBMC__ || __IBMCPP__
      #pragma info(none)
      #ifndef __CHKHDR__
         #pragma info(restore)
      #endif
      #pragma info(restore)
   #endif
#endif

