123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549 |
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // Name: asiucode.h ast_asi_inc_appl_asiucode_h
- //
- // Description: This file contains definitions of classes and
- // function prototypes, that support a UniCode
- // facility in ASI. These definitions are used by
- // all ASI components to meet the goals of
- // globalization.
- #ifndef ASI_ASIUCODE_H
- #define ASI_ASIUCODE_H asiucodeh
- /***************************************************************************/
- /* INCLUDES */
- /***************************************************************************/
- #include <asisys.h>
- /***************************************************************************/
- /* DEFINES */
- /***************************************************************************/
- #ifndef _MSUC_
- #define _MSUC_
- #endif // #ifndef _MSUC_
- // ASCII sort order Id
- #define LC_ASCII 0xffffffff
- // ASCII emulate code page Id
- #define ASI_ASCII_CODEPAGE 1252
- // Unsupported Code Page Id
- #define ASI_UNSUPPORTED_CODEPAGE_ID 0xFFFFFFFE
- // Unsupported sort order Id
- #define ASI_UNSUPPORTED_LOCALE_ID 0xFFFFFFFE
- /****************************************************************************/
- /* FORWARD DEFINITIONS */
- /****************************************************************************/
- /***************************************************************************/
- /* TYPEDEFS */
- /***************************************************************************/
- typedef wchar_t AsiUcChar;
- typedef AsiUcChar* AsiUcStr;
- typedef const AsiUcChar* AsiCUcStr;
- typedef unsigned long AsiUcIdCCT; /* Id of the CodePage */
- typedef const char* AsiUcNmCCT; /* Name of the CodePage */
- typedef unsigned long AsiUcIdCLT; /* Id of the Collation */
- /* LCID win alalog */
- typedef const char* AsiUcNmCLT; /* Name of the Collation */
- /***************************************************************************/
- /* Class definitions */
- /***************************************************************************/
- #pragma pack (push, 8)
- #if defined(__cplusplus)
- class DLLScope CAsiUcStr;
- class DLLScope CAsiUcChar;
- class CAsiUcStr
- {
- public:
- // Construction/descriptor
- //
- CAsiUcStr(); // CAsiUcStr x;
- CAsiUcStr(const char*,AsiUcNmCCT);
- CAsiUcStr(const char*,AsiUcIdCCT); // CAsiUcStr x = (char)"abc"+CCT;
- CAsiUcStr(const char*); // CAsiUcStr x = (char)"abc";
- CAsiUcStr(AsiCUcStr); // CAsiUcStr x = (AsiUcStr) y;
- CAsiUcStr(const CAsiUcStr&); // CAsiUcStr x = (CAsiUcStr) y;
- CAsiUcStr(const CAsiUcStr*); // CAsiUcStr x = (CAsiUcStr*) y;
- ~CAsiUcStr();
- //////////////////////////////////////////////////////////////////
- // Member functions
- //
- // Utility functions
- //
- void Clear(void); // Clear object data
- const AsiUcStr UcStr(void) const; // Return pointer to Unicode string
- int Size(void) const; // Size of string in memory
- int Length(void) const; // Size of string in symbols
- int Chlen(void) const;
- int Chlen(AsiUcNmCCT) const;
- int Chlen(AsiUcIdCCT) const;
- int MultibyteLen() const;
- int MultibyteLen(AsiUcNmCCT) const;
- int MultibyteLen(AsiUcIdCCT) const;
- int ChlenChk(void) const;
- int ChlenChk(AsiUcNmCCT) const;
- int ChlenChk(AsiUcIdCCT) const;
- void Update(int,int);
- void Update(int,int,AsiUcNmCCT);
- void Update(int,int,AsiUcIdCCT);
- void Update(int,AsiUcChar);
- void Update(int,const CAsiUcChar&);
- void Update(int,const CAsiUcChar*);
- void toLower(void); // Convert to upper case
- void toUpper(void); // Convert to lower case
- double Atof(void) const;
- int Atoi(void) const;
- long Atol(void) const;
- double Strtod(int*) const;
- long Strtol(int*,int) const;
- int Sprintf(const AsiUcStr,...);
- // Getting string into user buffer
- //
- char* getToChar(char*,int) const;
- char* getToChar(char*,int,AsiUcNmCCT) const;
- char* getToChar(char*,int,AsiUcIdCCT) const;
- wchar_t* getToChar(wchar_t*,int) const;
- wchar_t* getToChar(wchar_t*,int,AsiUcNmCCT) const;
- wchar_t* getToChar(wchar_t*,int,AsiUcIdCCT) const;
- char* getToCharChk(char*,int) const;
- char* getToCharChk(char*,int,AsiUcNmCCT) const;
- char* getToCharChk(char*,int,AsiUcIdCCT) const;
- AsiUcStr getToUcChar(AsiUcStr,int) const;
- // Append string or character to another string
- // strcat(), strncat()
- void Append(const char*);
- void Append(const char*,AsiUcNmCCT);
- void Append(const char*,AsiUcIdCCT);
- void Append(const wchar_t*,AsiUcNmCCT);
- void Append(const wchar_t*,AsiUcIdCCT);
- void Append(const AsiUcStr);
- void Append(const CAsiUcStr&);
- void Append(const CAsiUcStr*);
- void Append(const char*,int);
- void Append(const char*,int,AsiUcNmCCT);
- void Append(const char*,int,AsiUcIdCCT);
- void Append(const wchar_t*,int,AsiUcNmCCT);
- void Append(const wchar_t*,int,AsiUcIdCCT);
- void Append(const AsiUcStr,int);
- void Append(const CAsiUcStr&,int);
- void Append(const CAsiUcStr*,int);
- void Append(int);
- void Append(int,AsiUcNmCCT);
- void Append(int,AsiUcIdCCT);
- void Append(AsiUcChar);
- void Append(const CAsiUcChar&);
- void Append(const CAsiUcChar*);
- // Find first occurrence of a given string in a string
- // strstr()
- int FindFirst(const char*) const;
- int FindFirst(const char*,AsiUcNmCCT) const;
- int FindFirst(const char*,AsiUcIdCCT) const;
- int FindFirst(const AsiUcStr) const;
- int FindFirst(const CAsiUcStr&) const;
- int FindFirst(const CAsiUcStr*) const;
- // Find last occurrence of a given character or string in a string
- // strrstr()
- int FindLast(const char*) const;
- int FindLast(const char*,AsiUcNmCCT) const;
- int FindLast(const char*,AsiUcIdCCT) const;
- int FindLast(const AsiUcStr) const;
- int FindLast(const CAsiUcStr&) const;
- int FindLast(const CAsiUcStr*) const;
- // Find first occurrence of a given character or string in a string
- // strchr(), strrchr()
- int FindFirst(int) const;
- int FindFirst(int,AsiUcNmCCT) const;
- int FindFirst(int,AsiUcIdCCT) const;
- int FindFirst(AsiUcChar) const;
- int FindFirst(const CAsiUcChar&) const;
- int FindFirst(const CAsiUcChar*) const;
- // Find last occurrence of a given character in a string
- // strrchr()
- int FindLast(int) const;
- int FindLast(int,AsiUcNmCCT) const;
- int FindLast(int,AsiUcIdCCT) const;
- int FindLast(AsiUcChar) const;
- int FindLast(const CAsiUcChar&) const;
- int FindLast(const CAsiUcChar*) const;
- // Compare two strings
- // strcmp(), strncmp(), stricmp(), strincmp()
- int Comp(const char*) const;
- int Comp(const char*,AsiUcNmCCT) const;
- int Comp(const char*,AsiUcIdCCT) const;
- int Comp(const AsiUcStr) const;
- int Comp(const CAsiUcStr&) const;
- int Comp(const CAsiUcStr*) const;
- int Comp(const char*,int) const;
- int Comp(const char*,int,AsiUcNmCCT) const;
- int Comp(const char*,int,AsiUcIdCCT) const;
- int Comp(const AsiUcStr,int) const;
- int Comp(const CAsiUcStr&,int) const;
- int Comp(const CAsiUcStr*,int) const;
- int Compi(const char*) const;
- int Compi(const char*,AsiUcNmCCT) const;
- int Compi(const char*,AsiUcIdCCT) const;
- int Compi(const wchar_t*,AsiUcNmCCT) const;
- int Compi(const wchar_t*,AsiUcIdCCT) const;
- int Compi(const AsiUcStr) const;
- int Compi(const CAsiUcStr&) const;
- int Compi(const CAsiUcStr*) const;
- int Compi(const char*,int) const;
- int Compi(const char*,int,AsiUcNmCCT) const;
- int Compi(const char*,int,AsiUcIdCCT) const;
- int Compi(const wchar_t*,int,AsiUcNmCCT) const;
- int Compi(const wchar_t*,int,AsiUcIdCCT) const;
- int Compi(const AsiUcStr,int) const;
- int Compi(const CAsiUcStr&,int) const;
- int Compi(const CAsiUcStr*,int) const;
- // Copy string
- // strcpy(), strncpy()
- void Copy(const char*);
- void Copy(const char*,AsiUcNmCCT);
- void Copy(const char*,AsiUcIdCCT);
- void Copy(const wchar_t*);
- void Copy(const wchar_t*,AsiUcNmCCT);
- void Copy(const wchar_t*,AsiUcIdCCT);
- void Copy(const AsiUcStr);
- void Copy(const CAsiUcStr&);
- void Copy(const CAsiUcStr*);
- void Copy(const char*,int);
- void Copy(const char*,int,AsiUcNmCCT);
- void Copy(const char*,int,AsiUcIdCCT);
- void Copy(const wchar_t*,int,AsiUcNmCCT);
- void Copy(const wchar_t*,int,AsiUcIdCCT);
- void Copy(const AsiUcStr,int);
- void Copy(const CAsiUcStr&,int);
- void Copy(const CAsiUcStr*,int);
- ////////////////////////////////////////////////////
- // Operators
- //
- const CAsiUcChar & operator [] (int) const;
- // Assigned
- //
- CAsiUcStr& operator = (const char*);
- CAsiUcStr& operator = (const AsiUcStr);
- CAsiUcStr& operator = (const CAsiUcStr &);
- CAsiUcStr& operator = (const CAsiUcStr *);
- // Compare
- //
- friend int DLLScope operator == (const CAsiUcStr&, const char*);
- friend int DLLScope operator == (const char*, const CAsiUcStr&);
- friend int DLLScope operator == (const CAsiUcStr&, const CAsiUcStr&);
- friend int DLLScope operator == (const CAsiUcStr*, const CAsiUcStr&);
- friend int DLLScope operator == (const AsiUcStr, const CAsiUcStr&);
- friend int DLLScope operator == (const CAsiUcStr&, const CAsiUcStr*);
- friend int DLLScope operator == (const CAsiUcStr&, const AsiUcStr);
- friend int DLLScope operator != (const CAsiUcStr&, const char*);
- friend int DLLScope operator != (const char*, const CAsiUcStr&);
- friend int DLLScope operator != (const CAsiUcStr&, const CAsiUcStr&);
- friend int DLLScope operator != (const CAsiUcStr*, const CAsiUcStr&);
- friend int DLLScope operator != (const AsiUcStr, const CAsiUcStr&);
- friend int DLLScope operator != (const CAsiUcStr&, const CAsiUcStr*);
- friend int DLLScope operator != (const CAsiUcStr&, const AsiUcStr);
- friend int DLLScope operator > (const CAsiUcStr&, const char*);
- friend int DLLScope operator > (const char*, const CAsiUcStr&);
- friend int DLLScope operator > (const CAsiUcStr&, const CAsiUcStr&);
- friend int DLLScope operator > (const CAsiUcStr*, const CAsiUcStr&);
- friend int DLLScope operator > (const AsiUcStr, const CAsiUcStr&);
- friend int DLLScope operator > (const CAsiUcStr&, const CAsiUcStr*);
- friend int DLLScope operator > (const CAsiUcStr&, const AsiUcStr);
- friend int DLLScope operator < (const CAsiUcStr&, const char*);
- friend int DLLScope operator < (const char*, const CAsiUcStr&);
- friend int DLLScope operator < (const CAsiUcStr&, const CAsiUcStr&);
- friend int DLLScope operator < (const CAsiUcStr*, const CAsiUcStr&);
- friend int DLLScope operator < (const AsiUcStr, const CAsiUcStr&);
- friend int DLLScope operator < (const CAsiUcStr&, const CAsiUcStr*);
- friend int DLLScope operator < (const CAsiUcStr&, const AsiUcStr);
- friend int DLLScope operator >= (const CAsiUcStr&, const char*);
- friend int DLLScope operator >= (const char*, const CAsiUcStr&);
- friend int DLLScope operator >= (const CAsiUcStr&, const CAsiUcStr&);
- friend int DLLScope operator >= (const CAsiUcStr*, const CAsiUcStr&);
- friend int DLLScope operator >= (const AsiUcStr, const CAsiUcStr&);
- friend int DLLScope operator >= (const CAsiUcStr&, const CAsiUcStr*);
- friend int DLLScope operator >= (const CAsiUcStr&, const AsiUcStr);
- friend int DLLScope operator <= (const CAsiUcStr&, const char*);
- friend int DLLScope operator <= (const char*, const CAsiUcStr&);
- friend int DLLScope operator <= (const CAsiUcStr&, const CAsiUcStr&);
- friend int DLLScope operator <= (const CAsiUcStr*, const CAsiUcStr&);
- friend int DLLScope operator <= (const AsiUcStr, const CAsiUcStr&);
- friend int DLLScope operator <= (const CAsiUcStr&, const CAsiUcStr*);
- friend int DLLScope operator <= (const CAsiUcStr&, const AsiUcStr);
- // New/Delete
- //
- #ifdef ibmrs
- void* operator new(unsigned long);
- #else
- void* operator new(size_t);
- #endif
- void operator delete(void*);
- #if defined(__WATCOMC__)
- void* operator new[](unsigned int);
- void operator delete[](void*);
- #endif /* __WATCOMC__ */
- private:
- void *pUcStrData;
- };
- class CAsiUcChar
- {
- public:
- // Unicode character
- //
- AsiUcChar Symbol;
- //////////////////////////////////////////////////////////////////
- // Member functions
- //
- // is functions
- //
- int isUpper(void) const;
- int isLower(void) const;
- int isAlpha(void) const;
- int isDigit(void) const;
- int isXdigit(void) const;
- int isSpace(void) const;
- int isPunct(void) const;
- int isAlnum(void) const;
- int isGraph(void) const;
- int isPrint(void) const;
- int isCntrl(void) const;
- // set functions
- //
- void setUpper(void);
- void setLower(void);
- void setChar(int,AsiUcIdCCT);
- void setChar(int,AsiUcNmCCT);
- void setChar(AsiUcChar);
- // get functions
- int getChar(void) const;
- int getChar(AsiUcIdCCT) const;
- int getChar(AsiUcNmCCT) const;
- AsiUcChar getUcChar(void) const;
- // return character in upper/lower form
- //
- CAsiUcChar Upper(void) const;
- CAsiUcChar Lower(void) const;
- // Compare functions
- //
- int Comp(int) const;
- int Comp(int,AsiUcIdCCT) const;
- int Comp(int,AsiUcNmCCT) const;
- int Comp(AsiUcChar) const;
- int Comp(CAsiUcChar*) const;
- int Comp(const CAsiUcChar&) const;
- int Compi(int) const;
- int Compi(int,AsiUcIdCCT) const;
- int Compi(int,AsiUcNmCCT) const;
- int Compi(AsiUcChar) const;
- int Compi(CAsiUcChar*) const;
- int Compi(const CAsiUcChar&) const;
- ////////////////////////////////////////////////////
- // Operators
- //
- // Assigned
- //
- CAsiUcChar& operator = (const char);
- CAsiUcChar& operator = (const AsiUcChar);
- CAsiUcChar& operator = (const CAsiUcChar&);
- // Compare
- //
- friend DLLScope int operator == (const CAsiUcChar&, const char);
- friend DLLScope int operator == (const char, const CAsiUcChar&);
- friend DLLScope int operator == (const CAsiUcChar&, const AsiUcChar);
- friend DLLScope int operator == (const AsiUcChar, const CAsiUcChar&);
- friend DLLScope int operator == (const CAsiUcChar&, const CAsiUcChar&);
-
- friend DLLScope int operator != (const CAsiUcChar&, const char);
- friend DLLScope int operator != (const char, const CAsiUcChar&);
- friend DLLScope int operator != (const CAsiUcChar&, const AsiUcChar);
- friend DLLScope int operator != (const AsiUcChar, const CAsiUcChar&);
- friend DLLScope int operator != (const CAsiUcChar&, const CAsiUcChar&);
-
- friend DLLScope int operator > (const CAsiUcChar&, const char);
- friend DLLScope int operator > (const char, const CAsiUcChar&);
- friend DLLScope int operator > (const CAsiUcChar&, const AsiUcChar);
- friend DLLScope int operator > (const AsiUcChar, const CAsiUcChar&);
- friend DLLScope int operator > (const CAsiUcChar&, const CAsiUcChar&);
-
- friend DLLScope int operator < (const CAsiUcChar&, const char);
- friend DLLScope int operator < (const char, const CAsiUcChar&);
- friend DLLScope int operator < (const CAsiUcChar&, const AsiUcChar);
- friend DLLScope int operator < (const AsiUcChar, const CAsiUcChar&);
- friend DLLScope int operator < (const CAsiUcChar&, const CAsiUcChar&);
-
- friend DLLScope int operator >= (const CAsiUcChar&, const char);
- friend DLLScope int operator >= (const char, const CAsiUcChar&);
- friend DLLScope int operator >= (const CAsiUcChar&, const AsiUcChar);
- friend DLLScope int operator >= (const AsiUcChar, const CAsiUcChar&);
- friend DLLScope int operator >= (const CAsiUcChar&, const CAsiUcChar&);
-
- friend DLLScope int operator <= (const CAsiUcChar&, const char);
- friend DLLScope int operator <= (const char, const CAsiUcChar&);
- friend DLLScope int operator <= (const CAsiUcChar&, const AsiUcChar);
- friend DLLScope int operator <= (const AsiUcChar, const CAsiUcChar&);
- friend DLLScope int operator <= (const CAsiUcChar&, const CAsiUcChar&);
- // New/Delete
- //
- #ifdef ibmrs
- void* operator new(unsigned long);
- #else
- void* operator new(size_t);
- #endif
- void operator delete(void*);
- #if defined(__WATCOMC__)
- void* operator new[](unsigned int);
- void operator delete[](void*);
- #endif /* __WATCOMC__ */
- };
- #endif /* __cplusplus */
- /***************************************************************************/
- /* FUNCTION PROTOTYPES */
- /***************************************************************************/
- DLLScope int AsiUcIsAlnum (AsiUcChar);
- DLLScope int AsiUcIsAlpha (AsiUcChar);
- DLLScope int AsiUcIsCntrl (AsiUcChar);
- DLLScope int AsiUcIsDigit (AsiUcChar);
- DLLScope int AsiUcIsGraph (AsiUcChar);
- DLLScope int AsiUcIsLower (AsiUcChar);
- DLLScope int AsiUcIsPrint (AsiUcChar);
- DLLScope int AsiUcIsPunct (AsiUcChar);
- DLLScope int AsiUcIsSpace (AsiUcChar);
- DLLScope int AsiUcIsUpper (AsiUcChar);
- DLLScope int AsiUcIsXdigit (AsiUcChar);
- DLLScope AsiUcChar AsiUcToLower (AsiUcChar);
- DLLScope AsiUcChar AsiUcToUpper (AsiUcChar);
- DLLScope int AsiUcSprintf (AsiUcStr,const AsiUcStr, ...);
- DLLScope double AsiUcAtof (const AsiUcStr);
- DLLScope int AsiUcAtoi (const AsiUcStr);
- DLLScope long AsiUcAtol (const AsiUcStr);
- DLLScope double AsiUcStrtod (const AsiUcStr,AsiUcStr*);
- DLLScope long AsiUcStrtol (const AsiUcStr,AsiUcStr*,int);
- DLLScope AsiUcStr AsiUcStrcpy (AsiUcStr,const AsiUcStr);
- DLLScope AsiUcStr AsiUcStrncpy (AsiUcStr,const AsiUcStr,int);
- DLLScope AsiUcStr AsiUcStrcat (AsiUcStr,const AsiUcStr);
- DLLScope AsiUcStr AsiUcStrncat (AsiUcStr,const AsiUcStr,int);
- DLLScope int AsiUcCmpUCandUC (const AsiUcStr,const AsiUcStr);
- DLLScope int AsiUcStrcmp (const AsiUcStr,const AsiUcStr);
- DLLScope int AsiUcStrncmp (const AsiUcStr,const AsiUcStr,int);
- DLLScope int AsiUcStricmp (const AsiUcStr,const AsiUcStr);
- DLLScope int AsiUcStrnicmp (const AsiUcStr,const AsiUcStr,int);
- DLLScope AsiUcStr AsiUcStrstr (const AsiUcStr,const AsiUcStr);
- DLLScope AsiUcStr AsiUcStrrstr (const AsiUcStr,const AsiUcStr);
- DLLScope AsiUcStr AsiUcStrchr (const AsiUcStr,AsiUcChar);
- DLLScope AsiUcStr AsiUcStrrchr (const AsiUcStr,AsiUcChar);
- DLLScope AsiUcStr AsiUcStrLower (AsiUcStr);
- DLLScope AsiUcStr AsiUcStrUpper (AsiUcStr);
- // ucct.cpp
- DLLScope char *AsiUcStrUc2Ch (char*,int,const AsiUcStr,int,AsiUcNmCCT);
- DLLScope AsiUcStr AsiUcStrCh2Uc (AsiUcStr,int,const char*,int,AsiUcNmCCT);
- DLLScope int AsiUcUc2ChCCT (char*,int,const AsiUcStr,int,AsiUcIdCCT);
- DLLScope int AsiUcCh2UcCCT (AsiUcStr,int,const char*,int,AsiUcIdCCT);
- DLLScope int AsiUc2Ch (AsiUcChar,AsiUcNmCCT);
- DLLScope AsiUcChar AsiCh2Uc (int,AsiUcNmCCT);
- DLLScope int AsiUcStrlen (const AsiUcStr);
- DLLScope int AsiUcStrsize (const AsiUcStr);
- DLLScope int AsiUcStrchln (const AsiUcStr,AsiUcNmCCT);
- DLLScope int AsiUcStrchlnIdCCT (const AsiUcStr,AsiUcIdCCT);
- DLLScope int AsiChStrUclnIdCCT (const char*,AsiUcIdCCT);
-
- DLLScope AsiUcIdCCT AsiUcGetIdCCT (AsiUcNmCCT);
-
- DLLScope AsiUcNmCCT AsiUcGetNmCCT (AsiUcIdCCT);
- DLLScope AsiUcNmCCT AsiUcDefaultCCT (void);
-
- DLLScope AsiUcIdCLT AsiUcGetIdCLT (AsiUcNmCLT);
- DLLScope AsiUcNmCLT AsiUcGetNmCLT (AsiUcIdCLT);
- DLLScope AsiUcNmCLT AsiUcDefaultCLT (void);
-
- DLLScope int AsiUcCnChcmp (AsiUcNmCLT,AsiUcChar,AsiUcChar);
- DLLScope int AsiUcCnStrcmp (AsiUcNmCLT,const AsiUcStr,const AsiUcStr);
- DLLScope int AsiUcCnStrncmp (AsiUcNmCLT,const AsiUcStr,const AsiUcStr,int);
-
- DLLScope int AsiUcCiStrweight (AsiUcIdCLT,const AsiUcStr,unsigned char *,int);
- DLLScope int AsiUcCiChcmp (AsiUcIdCLT,AsiUcChar,AsiUcChar);
- DLLScope int AsiUcCiStrcmp (AsiUcIdCLT,const AsiUcStr,const AsiUcStr);
-
- DLLScope int AsiUcCiStrIcmp (AsiUcIdCLT,const AsiUcStr,const AsiUcStr);
-
- DLLScope int AsiUcCiStrncmp (AsiUcIdCLT,const AsiUcStr,const AsiUcStr,int);
- DLLScope int AsiUcCiUcChStrcmp (AsiUcIdCLT,AsiUcIdCCT,const AsiUcStr,const char*);
- DLLScope int AsiUcCiStrStrcmpA (AsiUcIdCLT,AsiUcIdCCT,const char*,const char*);
- DLLScope int AsiUcCiStrStrIcmpA(AsiUcIdCLT,AsiUcIdCCT,const char*,const char*);
- DLLScope int AsiUcCiStrStrcmpW (AsiUcIdCLT,AsiUcIdCCT,const wchar_t*,const wchar_t*);
- DLLScope int AsiUcCiStrStrIcmpW(AsiUcIdCLT,AsiUcIdCCT,const wchar_t*,const wchar_t*);
- #ifndef UNICODE
- #define AsiUcCiStrStrcmp AsiUcCiStrStrcmpA
- #else
- #define AsiUcCiStrStrcmp AsiUcCiStrStrcmpW
- #endif
- #pragma pack (pop)
- #endif /* ASI_ASIUCODE_H */
- /*EOF*/
|