Code

meson.build: define _GNU_SOURCE for getaddrinfo() and sigaction() with glibc
[ncmpc.git] / src / callbacks.h
index c4f1cf929f4c47f2ba86e148f24b1b59bd573981..6c315e45649396063003924ab5c48a13766623b0 100644 (file)
 
 struct mpdclient;
 
+/**
+ * A connection to MPD has been established.
+ */
+void
+mpdclient_connected_callback(void);
+
+/**
+ * An attempt to connect to MPD has failed.
+ * mpdclient_error_callback() has been called already.
+ */
+void
+mpdclient_failed_callback(void);
+
 /**
  * The connection to MPD was lost.  If this was due to an error, then
  * mpdclient_error_callback() has already been called.