[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9839: the event handler returns a bo
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9839: the event handler returns a bool now. |
Date: |
Wed, 17 Dec 2008 10:28:43 -0700 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9839
committer: address@hidden
branch nick: rtmp
timestamp: Wed 2008-12-17 10:28:43 -0700
message:
the event handler returns a bool now.
modified:
libnet/network.h
=== modified file 'libnet/network.h'
--- a/libnet/network.h 2008-12-15 03:44:46 +0000
+++ b/libnet/network.h 2008-12-17 17:28:43 +0000
@@ -96,7 +96,7 @@
std::string filespec;
} thread_params_t;
typedef boost::uint8_t byte_t;
- typedef void entry_t (thread_params_t *);
+ typedef bool entry_t (thread_params_t *);
Network();
~Network();
@@ -187,7 +187,12 @@
// int writeNet(int fd, const byte_t *buffer);
int writeNet(int fd, const byte_t *buffer, int nbytes);
int writeNet(int fd, const byte_t *buffer, int nbytes, int timeout);
-
+
+ /// \brief Wait for sries of file descriptors for data.
+ ///
+ /// @param limit The max number of file descriptors to wait for.
+ ///
+ /// @return A vector of the file descriptors that have activity.
#ifdef HAVE_POLL
boost::shared_ptr<std::vector<struct pollfd> > waitForNetData(int limit,
struct pollfd *fds);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9839: the event handler returns a bool now.,
rob <=