summaryrefslogtreecommitdiff
path: root/ace/Codeset_Registry.inl
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2003-03-31 23:05:57 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2003-03-31 23:05:57 +0000
commitbb0634abd4c7d13179b3cf0b60d1baf3090ba6d7 (patch)
tree2e2b1b3b2d88c8fee99ffa7190eb1b4c8515e77f /ace/Codeset_Registry.inl
parent3e2aa1084b59fcc2e7c0f78fba7e10356b34fd4f (diff)
downloadATCD-bb0634abd4c7d13179b3cf0b60d1baf3090ba6d7.tar.gz
ChangeLog tag: Mon Mar 31 14:04:22 2003 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'ace/Codeset_Registry.inl')
-rw-r--r--ace/Codeset_Registry.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Codeset_Registry.inl b/ace/Codeset_Registry.inl
index dec0b97a08d..47aaf7280ca 100644
--- a/ace/Codeset_Registry.inl
+++ b/ace/Codeset_Registry.inl
@@ -15,7 +15,7 @@
//=============================================================================
ACE_INLINE
-ACE_CDR::Boolean
+int
ACE_Codeset_Registry::locale_to_registry(const ACE_CString &locale,
ACE_CDR::ULong &codeset_id,
ACE_CDR::UShort *num_sets,
@@ -28,7 +28,7 @@ ACE_Codeset_Registry::locale_to_registry(const ACE_CString &locale,
num_sets,
char_sets,
&result);
- return (result == dce_cs_c_ok) ? OK : UNKNOWN;
+ return (result == dce_cs_c_ok) ? 1 : 0;
#else
return ACE_Codeset_Registry::locale_to_registry_i (locale,
codeset_id,
@@ -40,7 +40,7 @@ ACE_Codeset_Registry::locale_to_registry(const ACE_CString &locale,
// based on a registry value, find the locale string and optional codeset
// collection. This wraps the dce_cs_rgy_to_loc function, or emulates it.
ACE_INLINE
-ACE_CDR::Boolean
+int
ACE_Codeset_Registry::registry_to_locale(ACE_CDR::ULong codeset_id,
ACE_CString &locale,
ACE_CDR::UShort *num_sets,
@@ -68,7 +68,7 @@ ACE_Codeset_Registry::registry_to_locale(ACE_CDR::ULong codeset_id,
// tell if two codesets are compatible. This wraps the
//rpc_cs_char_set_compat_check function.
ACE_INLINE
-ACE_CDR::Boolean
+int
ACE_Codeset_Registry::is_compatible (ACE_CDR::ULong codeset_id,
ACE_CDR::ULong other)
{