/[pengfork]/pengfork/include/engine.h
ViewVC logotype

Diff of /pengfork/include/engine.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by nes, Tue Sep 10 11:50:28 2002 UTC revision 1.5 by chupa, Wed Sep 11 15:39:32 2002 UTC
# Line 28  Line 28 
28    
29  #include "buffer.h"  #include "buffer.h"
30    
31  /* the timeout in seconds */  /*
32  #define ENGINE_TIMEOUT  30   *  the timeout in seconds, we need a small engine timeout
33     *  for clients wanting an accurate timeout notification
34     */
35    #define ENGINE_TIMEOUT  1
36    
37  struct engine_functions  struct engine_functions
38  {  {
# Line 45  struct engine_functions Line 48  struct engine_functions
48  int engine_init (void);  int engine_init (void);
49  void engine_loop (void);  void engine_loop (void);
50  void engine_stop (void);  void engine_stop (void);
51  void engine_register (int fd, struct engine_functions fn);  void engine_register (int fd, int timeout, struct engine_functions fn);
52  void engine_unregister (int fd);  void engine_unregister (int fd);
53  void engine_set_readers (fd_set * fdset, int *maxfd);  void engine_set_readers (fd_set * fdset, int *maxfd);
54  void engine_set_writers (fd_set * fdset, int *maxfd);  void engine_set_writers (fd_set * fdset, int *maxfd);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26