ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.h
(Generate patch)

Comparing libev/ev.h (file contents):
Revision 1.41 by root, Thu Nov 8 21:08:56 2007 UTC vs.
Revision 1.43 by root, Fri Nov 9 17:10:57 2007 UTC

25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30#ifndef EV_H 30#ifndef EV_H__
31#define EV_H 31#define EV_H__
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus
34extern "C" { 34extern "C" {
35#endif 35#endif
36 36
329#if EV_PROTOTYPES 329#if EV_PROTOTYPES
330 330
331/* feeds an event into a watcher as if the event actually occured */ 331/* feeds an event into a watcher as if the event actually occured */
332/* accepts any ev_watcher type */ 332/* accepts any ev_watcher type */
333void ev_feed_event (EV_P_ void *w, int revents); 333void ev_feed_event (EV_P_ void *w, int revents);
334void ev_feed_fd_event (EV_P_ int fd, int revents);
335void ev_feed_signal_event (EV_P_ int signum);
334 336
335void ev_io_start (EV_P_ struct ev_io *w); 337void ev_io_start (EV_P_ struct ev_io *w);
336void ev_io_stop (EV_P_ struct ev_io *w); 338void ev_io_stop (EV_P_ struct ev_io *w);
337 339
338void ev_timer_start (EV_P_ struct ev_timer *w); 340void ev_timer_start (EV_P_ struct ev_timer *w);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines