diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-01 23:42:24 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-01 23:42:24 +0000 |
commit | 33f8a1928ce9f8cab7387fea432725c9f463d20a (patch) | |
tree | 0a6b58fa305309e3b782293397fc26e534db9b00 /ace/OS_NS_strings.h | |
parent | 1b4066b1f59c74badc9e45366dff7e6e5f307d1b (diff) | |
download | ATCD-33f8a1928ce9f8cab7387fea432725c9f463d20a.tar.gz |
ChangeLogTag:Sat Nov 1 23:45:49 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'ace/OS_NS_strings.h')
-rw-r--r-- | ace/OS_NS_strings.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/OS_NS_strings.h b/ace/OS_NS_strings.h index e465ff94f64..c648047e829 100644 --- a/ace/OS_NS_strings.h +++ b/ace/OS_NS_strings.h @@ -26,32 +26,44 @@ # endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ace/os_include/os_strings.h" +#include "ace/ACE_export.h" + +#if defined (ACE_EXPORT_MACRO) +# undef ACE_EXPORT_MACRO +#endif +#define ACE_EXPORT_MACRO ACE_Export class ACE_Time_Value; namespace ACE_OS { /// Compares two strings (case insensitive const char version). + ACE_NAMESPACE_INLINE_FUNCTION int strcasecmp (const char *s, const char *t); #if defined (ACE_HAS_WCHAR) /// Compares two strings (case insensitive const wchar_t version). + ACE_NAMESPACE_INLINE_FUNCTION int strcasecmp (const wchar_t *s, const wchar_t *t); #endif /* ACE_HAS_WCHAR */ /// Compares two arrays (case insensitive const char version). + ACE_NAMESPACE_INLINE_FUNCTION int strncasecmp (const char *s, const char *t, size_t len); #if defined (ACE_HAS_WCHAR) /// Compares two arrays (case insensitive const wchar_t version). + ACE_NAMESPACE_INLINE_FUNCTION int strncasecmp (const wchar_t *s, const wchar_t *t, size_t len); #endif /* ACE_HAS_WCHAR */ #if defined (ACE_LACKS_STRCASECMP) /// Emulated strcasecmp - Performs a case insensitive comparison of strings. + extern ACE_Export int strcasecmp_emulation (const char *s, const char *t); /// Emulated strncasecmp - Performs a case insensitvie comparison of arrays. + extern ACE_Export int strncasecmp_emulation (const char *s, const char *t, size_t len); #endif /* ACE_LACKS_STRCASECMP */ |