diff options
Diffstat (limited to 'comm/UnixAddress.h')
-rw-r--r-- | comm/UnixAddress.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/comm/UnixAddress.h b/comm/UnixAddress.h new file mode 100644 index 0000000..d21b619 --- /dev/null +++ b/comm/UnixAddress.h @@ -0,0 +1,43 @@ +/* + * The Unix Channel + * + * by Michel Beaudouin-Lafon + * + * Copyright 1990-1997 + * Laboratoire de Recherche en Informatique (LRI) + * + * Unix Addresses + * + * $Id$ + * $CurLog$ + * Created from Address.h + */ + +#ifndef UnixAddress_H_ +#define UnixAddress_H_ + +#include "cplus_bugs.h" +#include "error.h" +#include "Address.h" + + + +class IvlUnixAddress : public IvlAddress { +protected: + struct sockaddr_un Addr; + +public: + IvlUnixAddress (); + IvlUnixAddress (const char*); + ~IvlUnixAddress (); + + int Family (); + int Length (); + SockAddr* GetSockAddr (); + char* StrRepr (char* buf); +}; + + + + +#endif /* UnixAddress_H_ */ |