X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FDVB%2FDVBDemuxProtocol.cc;h=21745b876b9732ec47d8e9cb3426e9e20f17fef9;hb=1ad3873b372da6187b1fbc645bf276287d2efb54;hp=141ab55e0dc6d6c3a8f46291c2c878de0ac365a4;hpb=2c4c9deecc7491fbfc916aeb41074dcb76e8a2c2;p=senf.git diff --git a/Socket/Protocols/DVB/DVBDemuxProtocol.cc b/Socket/Protocols/DVB/DVBDemuxProtocol.cc index 141ab55..21745b8 100644 --- a/Socket/Protocols/DVB/DVBDemuxProtocol.cc +++ b/Socket/Protocols/DVB/DVBDemuxProtocol.cc @@ -3,7 +3,7 @@ // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Thorsten Horstmann // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -21,8 +21,7 @@ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /** \file - \brief xxx - */ + \brief DVBDemuxProtocol non-inline non-template implementation */ #include "DVBDemuxProtocol.hh" //#include "DVBDemuxProtocol.ih" @@ -33,7 +32,7 @@ #include #include #include -#include "Socket/SocketHandle.hh" +#include "../../../Socket/SocketHandle.hh" //#include "DVBDemuxProtocol.mpp" #define prefix_ @@ -42,22 +41,22 @@ prefix_ void senf::DVBDemuxProtocol::setBufferSize(unsigned long size) const { - if (::ioctl(body().fd(), DMX_SET_BUFFER_SIZE, size) < 0) - throw SystemException(errno); + if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0) + throwErrno(); } prefix_ void senf::DVBDemuxProtocol::startFiltering() const { - if (::ioctl(body().fd(), DMX_START) < 0) - throw SystemException(errno); + if (::ioctl(fd(), DMX_START) < 0) + throwErrno(); } prefix_ void senf::DVBDemuxProtocol::stopFiltering() const { - if (::ioctl(body().fd(), DMX_STOP) < 0) - throw SystemException(errno); + if (::ioctl(fd(), DMX_STOP) < 0) + throwErrno(); } prefix_ bool senf::DVBDemuxProtocol::eof()