X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Feventl.h;h=c80392c381c70fcd2867c08b0d44d29c90c59251;hp=c928708d2e80db0c0f1fbc7c7f4dff86912dd7b4;hb=e3e6a89b0ebc5270208139c22d68735ee6626a19;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/src/eventl.h b/src/eventl.h index c928708..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-2009 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,12 +79,13 @@ 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 /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab