#ifndef h_NLSHKprivate #define h_NLSHKprivate /****************************************************************************** * * Private Include file for National Language Support hooks * * Module %M% Version %I% Date %H% * * (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved * This is unpublished proprietary source code of Ardent Software, Inc. * The copyright notice above does not evidence any actual or intented * publication of such source code. * ******************************************************************************* * * Maintenence log - insert most recent change descriptions at top * * Date.... GTAR# WHO Description......................................... * 10/14/98 23801 SAP Change copyrights. * 07/01/97 20965 CSM Initial submission for NLS hook mechanism * *****************************************************************************/ /* These tokens represent the bit fields in the HookFlags (see below) */ #define NLSHK_FUNC_CASE 1 #define NLSHK_FUNC_COMPARE 2 #define NLSHK_FUNC_CTYPE 4 #define NLSHK_FUNC_FMT 8 #define NLSHK_FUNC_ICONV 16 #define NLSHK_FUNC_LENDP 32 #define NLSHK_FUNC_OCONV 64 #define NLSHK_FUNC_SOUNDEX 128 #define NLSHK_FUNC_TRIM 256 #define NLSHK_FUNC_MATCH 512 /* NLS hooks internal (global) data structure. Initialized by ih_init() */ typedef struct { int HookFlags; /* Indicates which hooks are present */ CMAP *IpMap; /* NLS map for arguments returned from hook */ CMAP *OpMap; /* NLS map for arguments passed to hook */ } NLSHK_GLOBAL; extern NLSHK_GLOBAL NLSHKData; #endif