/usr/include/Eris-1.3/Eris/PollDefault.h is in liberis-1.3-dev 1.3.19-5ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef ERIS_POLL_DEFAULT_H
#define ERIS_POLL_DEFAULT_H
#include <Eris/Poll.h>
#include <sigc++/trackable.h>
#include <map>
namespace Eris {
class PollDefault : public Poll, virtual public sigc::trackable
{
public:
PollDefault() {}
// PollDefault(const sigc::slot<bool> &s) : _prePoll(s) {}
virtual ~PollDefault() {}
virtual int maxStreams() const;
virtual int maxConnectingStreams() const;
virtual void addStream(const basic_socket*, Check);
virtual void changeStream(const basic_socket*, Check);
virtual void removeStream(const basic_socket*);
static void poll(unsigned long timeout = 0);
typedef std::map<const basic_socket*,Check> MapType;
private:
MapType _streams;
typedef MapType::iterator _iter;
void doPoll(unsigned long timeout);
// sigc::slot<bool> _prePoll;
};
} // namespace Eris
#endif // ERIS_POLL_DEFAULT_H
|