aboutsummaryrefslogtreecommitdiffstats
path: root/src/time_print.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/time_print.h (renamed from src/db_internal.h)20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/db_internal.h b/src/time_print.h
index a33351524..7eff446b2 100644
--- a/src/db_internal.h
+++ b/src/time_print.h
@@ -17,19 +17,17 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_DB_INTERNAL_H
-#define MPD_DB_INTERNAL_H
+#ifndef MPD_TIME_PRINT_H
+#define MPD_TIME_PRINT_H
-#include "db_plugin.h"
+#include <time.h>
-#include <assert.h>
+struct client;
-static inline void
-db_base_init(struct db *db, const struct db_plugin *plugin)
-{
- assert(plugin != NULL);
-
- db->plugin = plugin;
-}
+/**
+ * Write a line with a time stamp to the client.
+ */
+void
+time_print(struct client *client, const char *name, time_t t);
#endif