home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / collate.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-20  |  2.2 KB  |  76 lines

  1. #if (defined(__IBMC__) || defined(__IBMCPP__))
  2. #pragma info( none )
  3. #ifndef __CHKHDR__
  4.    #pragma info( none )
  5. #endif
  6. #pragma info( restore )
  7. #endif
  8.  
  9. #ifndef __collate_h
  10.    #define __collate_h
  11.  
  12.    #ifdef __cplusplus
  13.       extern "C" {
  14.    #endif
  15.  
  16.    #ifndef  _LNK_CONV
  17.      #ifdef _M_I386
  18.          #define  _LNK_CONV   _Optlink
  19.      #else
  20.        #define  _LNK_CONV
  21.      #endif
  22.    #endif
  23.  
  24.    #ifndef _IMPORT
  25.       #ifdef __IMPORTLIB__
  26.          #define _IMPORT _Import
  27.       #else
  28.          #define _IMPORT
  29.       #endif
  30.    #endif
  31.  
  32.    /********************************************************************/
  33.    /*  <collate.h> header file                                         */
  34.    /*                                                                  */
  35.    /*  VisualAge for C++ for Windows, Version 3.5                      */
  36.    /*    Licensed Material - Property of IBM                           */
  37.    /*                                                                  */
  38.    /*  5801-ARR and Other Materials                                    */
  39.    /*                                                                  */
  40.    /*  (c) Copyright IBM Corp 1991, 1996. All rights reserved.         */
  41.    /*                                                                  */
  42.    /********************************************************************/
  43.  
  44.    typedef unsigned short collel_t;
  45.  
  46.    #ifndef __wchar_t
  47.       typedef unsigned short wchar_t;
  48.       #define __wchar_t 1
  49.    #endif
  50.  
  51.    extern int      _LNK_CONV ismccollel(collel_t);
  52.    extern collel_t _LNK_CONV strtocoll(char *);
  53.    extern char   * _LNK_CONV colltostr(collel_t);
  54.    extern int      _LNK_CONV collequiv(collel_t, collel_t **);
  55.    extern int      _LNK_CONV collrange(collel_t, collel_t, collel_t **);
  56.    extern int      _LNK_CONV collorder(collel_t **);
  57.    extern int      _LNK_CONV cclass(char *, collel_t **list);
  58.    extern collel_t _LNK_CONV maxcoll(void);
  59.    extern collel_t _LNK_CONV getmccoll(char **);
  60.    extern collel_t _LNK_CONV getwmccoll(wchar_t **);
  61.  
  62.    #ifdef __cplusplus
  63.       }
  64.    #endif
  65.  
  66. #endif
  67.  
  68. #if (defined(__IBMC__) || defined(__IBMCPP__))
  69. #pragma info( none )
  70. #ifndef __CHKHDR__
  71.    #pragma info( restore )
  72. #endif
  73. #pragma info( restore )
  74. #endif
  75.  
  76.