"Fossies" - the Fresh Open Source Software Archive

Member "portfwd-0.29/src/fd_set.h" (30 May 2005, 445 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2   $Id: fd_set.h,v 1.1 2005/05/30 02:13:28 evertonm Exp $
    3  */
    4 
    5 
    6 #ifndef FD_SET_H
    7 #define FD_SET_H
    8 
    9 
   10 /*
   11  * FD_SETSIZE is usually defined as 1024.
   12  * You may want to force a greater value here.
   13  */
   14 
   15 #ifndef FD_SETSIZE
   16 #define FD_SETSIZE 2048
   17 #endif
   18 
   19 #define PORTFWD_MAX_FD FD_SETSIZE
   20 
   21 
   22 void close_fds(int first_fds);
   23 void fdset(int fd, fd_set *fds, int *maxfd);
   24 void fdclear(int fd, fd_set *fds, int *maxfd);
   25 
   26 
   27 #endif /* FD_SET_H */
   28 
   29 
   30 /* eof */