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 |
|
|
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; |
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 |
|
/* |