Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
iowatch.cc File Reference

Simple ADT for watching file descriptor activity. More...

#include <FL/Fl.H>
#include "iowatch.hh"
Include dependency graph for iowatch.cc:

Go to the source code of this file.

Functions

void a_IOwatch_add_fd (int fd, int when, Fl_FD_Handler Callback, void *usr_data=0)
 Hook a Callback for a certain activities in a FD.
 
void a_IOwatch_remove_fd (int fd, int when)
 Remove a Callback for a given FD (or just remove some events)
 

Detailed Description

Simple ADT for watching file descriptor activity.

Definition in file iowatch.cc.

Function Documentation

◆ a_IOwatch_add_fd()

void a_IOwatch_add_fd ( int  fd,
int  when,
Fl_FD_Handler  Callback,
void *  usr_data = 0 
)

Hook a Callback for a certain activities in a FD.

Definition at line 22 of file iowatch.cc.

Referenced by a_Dns_init(), Http_connect_socket(), IO_submit(), Tls_connect(), and Tls_handshake().

◆ a_IOwatch_remove_fd()

void a_IOwatch_remove_fd ( int  fd,
int  when 
)

Remove a Callback for a given FD (or just remove some events)

Definition at line 32 of file iowatch.cc.

Referenced by a_Dns_freeall(), Http_connect_socket_cb(), Http_socket_free(), IO_close_fd(), IO_fd_read_cb(), IO_fd_write_cb(), Tls_close_by_key(), Tls_close_by_key(), Tls_connect(), and Tls_handshake().