summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-06-27 21:54:42 +0200
committerJoe <bousset.rudy@gmail.com>2022-06-27 21:54:42 +0200
commitd34f7e2196d61675bdff26d84b1f402b86685cef (patch)
treef4498521a9fe0eeb9db98e6587cb32cea125184f /src
parentFirst commit (diff)
downloadmpdview-d34f7e2196d61675bdff26d84b1f402b86685cef.tar.gz
mpdview-d34f7e2196d61675bdff26d84b1f402b86685cef.tar.bz2
mpdview-d34f7e2196d61675bdff26d84b1f402b86685cef.tar.xz
mpdview-d34f7e2196d61675bdff26d84b1f402b86685cef.tar.zst
mpdview-d34f7e2196d61675bdff26d84b1f402b86685cef.zip
WIP
Diffstat (limited to 'src')
-rw-r--r--src/c_mpdview.c7
-rw-r--r--src/c_mpdview.h8
2 files changed, 14 insertions, 1 deletions
diff --git a/src/c_mpdview.c b/src/c_mpdview.c
index 8c6a6a1..b163e42 100644
--- a/src/c_mpdview.c
+++ b/src/c_mpdview.c
@@ -39,12 +39,17 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* mpdview: src/c_mpdview.c
- * Mon, 27 Jun 2022 21:20:37 +0200
+ * Mon, 27 Jun 2022 21:48:06 +0200
* Joe
*
* This is the entrypoint of the program.
*/
+#include <stdio.h>
+#include <unistd.h>
+
+#include <mpd/client.h>
+
int
main
(int argc,
diff --git a/src/c_mpdview.h b/src/c_mpdview.h
index fc904a4..ad9338f 100644
--- a/src/c_mpdview.h
+++ b/src/c_mpdview.h
@@ -48,4 +48,12 @@
#define PROGNAME "mpdview"
+typedef char bool_t;
+typedef void* ptr_t;
+
+enum bool_e {
+ FALSE,
+ TRUE
+};
+
#endif /* __C_MPDVIEW_H__ */