Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
iowatch.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DIO_READ   1
 
#define DIO_WRITE   4
 
#define DIO_EXCEPT   8
 

Typedefs

typedef void(* CbFunction_t) (int fd, void *data)
 

Functions

void a_IOwatch_add_fd (int fd, int when, CbFunction_t Callback, void *usr_data)
 
void a_IOwatch_remove_fd (int fd, int when)
 Remove a Callback for a given FD (or just remove some events)
 

Macro Definition Documentation

◆ DIO_EXCEPT

#define DIO_EXCEPT   8

Definition at line 9 of file iowatch.hh.

◆ DIO_READ

#define DIO_READ   1

Definition at line 7 of file iowatch.hh.

◆ DIO_WRITE

#define DIO_WRITE   4

Definition at line 8 of file iowatch.hh.

Typedef Documentation

◆ CbFunction_t

typedef void(* CbFunction_t) (int fd, void *data)

Definition at line 11 of file iowatch.hh.

Function Documentation

◆ a_IOwatch_add_fd()

void a_IOwatch_add_fd ( int  fd,
int  when,
CbFunction_t  Callback,
void *  usr_data 
)

◆ 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().