32 #include <mpd/client.h> 34 struct mpd_connection;
38 void (*
success)(
struct mpd_connection *c,
void *ctx);
39 void (*
error)(
const char *message,
void *ctx);
44 const char *host,
unsigned port,
void(* success)(struct mpd_connection *c, void *ctx)
Definition: aconnect.h:38
void(* error)(const char *message, void *ctx)
Definition: aconnect.h:39
Definition: aconnect.h:37
void aconnect_cancel(struct aconnect *ac)
void aconnect_start(struct aconnect **acp, const char *host, unsigned port, const struct aconnect_handler *handler, void *ctx)