Code

mpdclient: move code to mpdclient_invoke_error_callback()
[ncmpc.git] / src / screen_client.h
index 73e90d523cb58c61b5fb4b8eb7750c4a33b02873..895010ba40e44af8d7052192585f6e5b64bd230c 100644 (file)
@@ -1,5 +1,5 @@
 /* ncmpc (Ncurses MPD Client)
- * (c) 2004-2009 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
  *
  * This program is free software; you can redistribute it and/or modify
 #ifndef NCMPC_SCREEN_CLIENT_H
 #define NCMPC_SCREEN_CLIENT_H
 
-#include <glib.h>
+#include <stdbool.h>
 
 struct mpdclient;
 
-gint
+bool
 screen_auth(struct mpdclient *c);
 
+/**
+ * Starts a (server-side) database update and displays a status
+ * message.
+ */
+void
+screen_database_update(struct mpdclient *c, const char *path);
+
 #endif