ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/iom.h
(Generate patch)

Comparing rxvt-unicode/src/iom.h (file contents):
Revision 1.25 by root, Thu Jan 19 09:47:15 2006 UTC vs.
Revision 1.27 by root, Thu Jan 19 20:30:36 2006 UTC

1/* 1/*
2 iom.h -- generic I/O multiplexer 2 iom.h -- generic I/O multiplexer
3 Copyright (C) 2003, 2004 Marc Lehmann <gvpe@schmorp.de> 3 Copyright (C) 2003-2006 Marc Lehmann <gvpe@schmorp.de>
4 4
5 This file is part of GVPE. 5 This file is part of GVPE.
6 6
7 GVPE is free software; you can redistribute it and/or modify 7 GVPE is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
115}; 115};
116 116
117struct watcher { 117struct watcher {
118 int active; /* 0 == inactive, else index into respective vector */ 118 int active; /* 0 == inactive, else index into respective vector */
119 119
120 bool is_active () { return active; }
121
120 watcher () : active (0) { } 122 watcher () : active (0) { }
121}; 123};
122 124
123#if IOM_IO 125#if IOM_IO
124enum { EVENT_UNDEF = -1, EVENT_NONE = 0, EVENT_READ = 1, EVENT_WRITE = 2 }; 126enum { EVENT_UNDEF = -1, EVENT_NONE = 0, EVENT_READ = 1, EVENT_WRITE = 2 };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines