~ubuntu-branches/ubuntu/quantal/haproxy/quantal

« back to all changes in this revision

Viewing changes to include/proto/fd.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-03-09 21:30:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080309213029-8oupnrc607mg5uqw
Tags: 1.3.14.3-1
* New Upstream Version
* Add status argument support to init-script to conform to LSB.
* Cleanup pidfile after stop in init script. Init script return code fixups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
#define EV_FD_CLO(fd)        (cur_poller.clo(fd))
75
75
 
76
76
 
77
 
/* recomputes the maxfd limit from the fd */
 
77
/* Prepares <fd> for being polled */
78
78
static inline void fd_insert(int fd)
79
79
{
 
80
        fdtab[fd].ev = 0;
80
81
        if (fd + 1 > maxfd)
81
82
                maxfd = fd + 1;
82
83
}