summaryrefslogtreecommitdiff
path: root/ace/SPIPE_Addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SPIPE_Addr.h')
-rw-r--r--ace/SPIPE_Addr.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/ace/SPIPE_Addr.h b/ace/SPIPE_Addr.h
index 372c9ea9ac5..2a69c851e2b 100644
--- a/ace/SPIPE_Addr.h
+++ b/ace/SPIPE_Addr.h
@@ -1,6 +1,7 @@
/* -*- C++ -*- */
// $Id$
+
// ============================================================================
//
// = LIBRARY
@@ -43,10 +44,18 @@ public:
virtual void set_addr (void *addr, int len);
// Set a pointer to the underlying network address.
- virtual int addr_to_string (LPTSTR addr, size_t) const;
+#if defined (UNICODE)
+ virtual int addr_to_string (wchar_t *addr, size_t) const;
+ // Transform the current address into string format.
+
+ virtual int string_to_addr (const wchar_t *addr);
+ // Transform the string into the current addressing format.
+#endif /* UNICODE */
+
+ virtual int addr_to_string (char *addr, size_t) const;
// Transform the current address into string format.
- virtual int string_to_addr (LPCTSTR addr);
+ virtual int string_to_addr (const char *addr);
// Transform the string into the current addressing format.
// = Equality/inequality tests