diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:21:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:21:29 +0200 |
commit | bada6666c70977a058755ccf232e7d67b24adeed (patch) | |
tree | 1e92d50cebce96abaf9bce19e36026c47f77b9ba /libcult/cult/os/net/address.hxx | |
parent | eaf34adcbd8095bc6d1f3371b1227f654c7b19fc (diff) |
New upstream release
Diffstat (limited to 'libcult/cult/os/net/address.hxx')
-rw-r--r-- | libcult/cult/os/net/address.hxx | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/libcult/cult/os/net/address.hxx b/libcult/cult/os/net/address.hxx deleted file mode 100644 index 2923ec6..0000000 --- a/libcult/cult/os/net/address.hxx +++ /dev/null @@ -1,60 +0,0 @@ -// file : cult/os/net/address.hxx -// author : Boris Kolpackov <boris@kolpackov.Net> -// copyright : Copyright (c) 2005-2010 Boris Kolpackov -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#ifndef CULT_OS_NET_ADDRESS_HXX -#define CULT_OS_NET_ADDRESS_HXX - -#include <cult/types.hxx> - -#include <cult/os/exception.hxx> - -#include <sys/socket.h> // sa_family_t, sockaddr - -namespace Cult -{ - namespace OS - { - namespace Net - { - class Address - { - public: - struct Exception: virtual OS::Exception {}; - - struct Invalid : virtual Exception {}; - - public: - Address (); - - virtual - ~Address (); - - public: - //@@ need to wrap family - // - virtual sa_family_t - familiy () const = 0; - - virtual sockaddr const* - raw_addr () const = 0; - - virtual Size - raw_size () const = 0; - - - //@@ Should it be Clonable rather? - // - protected: - Address (Address const&); - - Address& - operator= (Address const&); - }; - } - } -} - - -#endif // CULT_OS_NET_ADDRESS_HXX |