ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd_kqueue.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/s_bsd_kqueue.c (file contents):
Revision 3986 by michael, Wed Jun 18 14:40:01 2014 UTC vs.
Revision 4565 by michael, Sun Aug 24 10:27:40 2014 UTC

# Line 15 | Line 15
15   *
16   *  You should have received a copy of the GNU General Public License
17   *  along with this program; if not, write to the Free Software
18 < *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
18 > *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
19   *  USA
20   */
21  
# Line 87 | Line 87 | kq_update_events(int fd, int filter, int
87   * and deregister interest in a pending IO state for a given FD.
88   */
89   void
90 < comm_setselect(fde_t *F, unsigned int type, PF *handler,
90 > comm_setselect(fde_t *F, unsigned int type, void (*handler)(fde_t *, void *),
91                 void *client_data, time_t timeout)
92   {
93    int new_events, diff;
# Line 140 | Line 140 | comm_select(void)
140    int num, i;
141    static struct kevent ke[KE_LENGTH];
142    struct timespec poll_time;
143 <  PF *hdl;
143 >  void (*hdl)(fde_t *, void *);
144    fde_t *F;
145  
146    /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)