MPD 0.17~git
|
#include <tcp_connect.h>
Data Fields | |
void(* | success )(int fd, void *ctx) |
The connection was established successfully. | |
void(* | error )(GError *error, void *ctx) |
An error has occurred. | |
void(* | timeout )(void *ctx) |
The connection could not be established in the specified time span. | |
void(* | canceled )(void *ctx) |
The operation was canceled before a result was available. |
Definition at line 27 of file tcp_connect.h.
void(* tcp_connect_handler::canceled)(void *ctx) |
The operation was canceled before a result was available.
Definition at line 51 of file tcp_connect.h.
void(* tcp_connect_handler::error)(GError *error, void *ctx) |
An error has occurred.
The method is responsible for freeing the GError.
Definition at line 40 of file tcp_connect.h.
void(* tcp_connect_handler::success)(int fd, void *ctx) |
The connection was established successfully.
fd | a file descriptor that must be closed with close_socket() when finished |
Definition at line 34 of file tcp_connect.h.
void(* tcp_connect_handler::timeout)(void *ctx) |
The connection could not be established in the specified time span.
Definition at line 46 of file tcp_connect.h.