X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Feventl.h;h=c80392c381c70fcd2867c08b0d44d29c90c59251;hp=01278b157dce227e278b779e0275aa84cef80b16;hb=f00caf7c3f8e70278f6ada47a1f5da79a8ba6858;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/src/eventl.h b/src/eventl.h index 01278b1..c80392c 100644 --- a/src/eventl.h +++ b/src/eventl.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data. + * Copyright (C) Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -56,7 +56,7 @@ int force_event; int destroyed; time_t last_event; time_t max_idle; - + struct iochan *next; int chan_id; /* listening port (0 if none ) */ } *IOCHAN; @@ -79,7 +79,7 @@ int force_event; IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags, int port); int iochan_is_alive(IOCHAN chan); -int iochan_event_loop(IOCHAN *iochans); +int iochan_event_loop(IOCHAN *iochans, int *watch_sig); void statserv_remove (IOCHAN pIOChannel); #endif /*