--- gvpe/src/iom.h 2005/03/07 01:31:26 1.28 +++ gvpe/src/iom.h 2006/01/11 21:27:05 1.30 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with gvpe; if not, write to the Free Software - Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef IOM_H__ @@ -126,7 +126,7 @@ }; #if IOM_IO -enum { EVENT_READ = 1, EVENT_WRITE = 2 }; +enum { EVENT_UNDEF = -1, EVENT_NONE = 0, EVENT_READ = 1, EVENT_WRITE = 2 }; struct io_watcher : watcher, callback2 { int fd;