diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-01 08:00:34 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-01 08:00:34 +0000 |
commit | 437eea6fa08e931864f89be91d14a816f69075c7 (patch) | |
tree | b8c1fd723fdcd61c3855d3a3a21a9cd45a268219 /ace/SPIPE_Addr.h | |
parent | ea0d28240863caf437a18071bfd03e7b146c5ade (diff) | |
download | ATCD-unlabeled-4.2.2.tar.gz |
This commit was manufactured by cvs2svn to create branchunlabeled-4.2.2
'unlabeled-4.2.2'.
Diffstat (limited to 'ace/SPIPE_Addr.h')
-rw-r--r-- | ace/SPIPE_Addr.h | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/ace/SPIPE_Addr.h b/ace/SPIPE_Addr.h deleted file mode 100644 index 0a758250f0e..00000000000 --- a/ace/SPIPE_Addr.h +++ /dev/null @@ -1,101 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// SPIPE_Addr.h -// -// = AUTHOR -// Doug Schmidt -// -// ============================================================================ - -#if !defined (ACE_SPIPE_ADDR_H) -#define ACE_SPIPE_ADDR_H -#include "ace/Addr.h" -#include "ace/ACE.h" - -class ACE_Export ACE_SPIPE_Addr : public ACE_Addr - // = TITLE - // Defines the SVR4 STREAM pipe address family address format. -{ -public: - // = Initialization methods. - ACE_SPIPE_Addr (void); - // Default constructor. - - ACE_SPIPE_Addr (const ACE_SPIPE_Addr &sa); - // Copy constructor. - - ACE_SPIPE_Addr (LPCTSTR rendezvous_point, gid_t = 0, uid_t = 0); - // Create a ACE_SPIPE_Addr from a rendezvous point in the file system. - - int set (LPCTSTR rendezvous_point, gid_t = 0, uid_t = 0); - // Create a ACE_SPIPE_Addr from a rendezvous point in the file system. - - virtual void *get_addr (void) const; - // Return a pointer to the address. - - 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; - // Transform the current address into string format. - - virtual int string_to_addr (LPCTSTR addr); - // Transform the string into the current addressing format. - - // = Equality/inequality tests - virtual int operator == (const ACE_Addr &SAP) const; - // Check for equality. - - virtual int operator != (const ACE_Addr &SAP) const; - // Check for inequality - - // = SPIPE-specific address operations - LPCTSTR get_path_name (void) const; - // Pathname of rendezvous point in file system. - - uid_t user_id (void) const; - // Get user id. - void user_id (uid_t uid); - // Set user id. - - void group_id (gid_t gid); - // Set group ids. - gid_t group_id (void) const; - // Get group ids. - - void dump (void) const; - // Dump the state of an object. - - ACE_ALLOC_HOOK_DECLARE; - // Declare the dynamic allocation hooks. - -private: - // = This struct contains security attributes. - struct - { - gid_t gid_; - // Group id. - - uid_t uid_; - // User id. - - TCHAR rendezvous_[MAXNAMLEN + 1]; - // Pathname in the file system. - - } SPIPE_addr_; - // Contents of an SPIPE address. -}; - -#if defined (__ACE_INLINE__) -#include "ace/SPIPE_Addr.i" -#endif /* __ACE_INLINE__ */ - -#endif /* ACE_SPIPE_ADDR_H */ |