summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/INet/FTP_URL.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/ace/INet/FTP_URL.inl')
-rw-r--r--ACE/protocols/ace/INet/FTP_URL.inl27
1 files changed, 27 insertions, 0 deletions
diff --git a/ACE/protocols/ace/INet/FTP_URL.inl b/ACE/protocols/ace/INet/FTP_URL.inl
new file mode 100644
index 00000000000..0a5cd7fb23d
--- /dev/null
+++ b/ACE/protocols/ace/INet/FTP_URL.inl
@@ -0,0 +1,27 @@
+// -*- C++ -*-
+//
+// $Id$
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace ACE
+{
+ namespace FTP
+ {
+
+ ACE_INLINE
+ const ACE_CString& URL::get_scheme () const
+ {
+ return protocol ();
+ }
+
+ ACE_INLINE
+ u_short URL::default_port () const
+ {
+ return FTP_PORT;
+ }
+
+ }
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL