fixes for power kernel 47 breaking temperature and voltage readings
[monky] / src / libmpdclient.h
index bdc0447..eef40cd 100644 (file)
@@ -1,4 +1,6 @@
-/* libmpdclient
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ *
+ * libmpdclient
  * (c)2003-2006 by Warren Dukes (warren.dukes@gmail.com)
  * This project's homepage is: http://www.musicpd.org
  *
@@ -87,7 +89,7 @@ typedef enum mpd_TagItems {
        MPD_TAG_NUM_OF_ITEM_TYPES
 } mpd_TagItems;
 
-extern char *mpdTagItemKeys[MPD_TAG_NUM_OF_ITEM_TYPES];
+extern const char *mpdTagItemKeys[MPD_TAG_NUM_OF_ITEM_TYPES];
 
 /* internal stuff don't touch this struct */
 typedef struct _mpd_ReturnElement {
@@ -472,9 +474,9 @@ void mpd_sendSwapCommand(mpd_Connection *connection, int song1, int song2);
 
 void mpd_sendSwapIdCommand(mpd_Connection *connection, int song1, int song2);
 
-void mpd_sendSeekCommand(mpd_Connection *connection, int song, int time);
+void mpd_sendSeekCommand(mpd_Connection *connection, int song, int seek_time);
 
-void mpd_sendSeekIdCommand(mpd_Connection *connection, int song, int time);
+void mpd_sendSeekIdCommand(mpd_Connection *connection, int song, int seek_time);
 
 void mpd_sendRepeatCommand(mpd_Connection *connection, int repeatMode);