X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FFileHandle.cc;h=0cc9b79cff40146b9028a03d3a87d265087d2036;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=687bde711b4c82d9a5e0069f0a7368e45f12a624;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Socket/FileHandle.cc b/Socket/FileHandle.cc index 687bde7..0cc9b79 100644 --- a/Socket/FileHandle.cc +++ b/Socket/FileHandle.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -20,7 +20,9 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of non-inline non-template functions +/** \file + \brief FileHandle non-inline non-template implementation + */ #include "FileHandle.hh" //#include "FileHandle.ih" @@ -76,6 +78,9 @@ prefix_ void senf::FileBody::blocking(bool status) if (::fcntl(fd(), F_SETFL, flags) < 0) throw SystemException(errno); } +/* We don't take POLLIN/POLLOUT as argument to avoid having to include + sys/poll.h in the .cci file (and therefore indirectly into the .hh + and then every file which uses FileHandle) */ prefix_ bool senf::FileBody::pollCheck(int fd, bool incoming, bool block) const { @@ -103,5 +108,10 @@ prefix_ bool senf::FileBody::pollCheck(int fd, bool incoming, bool block) // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: