From 2a15b1de700eb4e20c6bebb9742c8e20fffc9687 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 11 Oct 2016 09:37:22 +0200 Subject: Import an MPD client interface --- tests/proto.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/proto.c b/tests/proto.c index 8a3b1a9..b00f78f 100644 --- a/tests/proto.c +++ b/tests/proto.c @@ -22,12 +22,16 @@ #define PROGRAM_VERSION "0" #define LIBERTY_WANT_SSL +// The MPD client is a full wrapper and needs the network +#define LIBERTY_WANT_POLLER +#define LIBERTY_WANT_ASYNC #define LIBERTY_WANT_PROTO_IRC #define LIBERTY_WANT_PROTO_HTTP #define LIBERTY_WANT_PROTO_SCGI #define LIBERTY_WANT_PROTO_FASTCGI #define LIBERTY_WANT_PROTO_WS +#define LIBERTY_WANT_PROTO_MPD #include "../liberty.c" @@ -201,7 +205,7 @@ main (int argc, char *argv[]) test_add_simple (&test, "/http-parser", NULL, test_http_parser); test_add_simple (&test, "/scgi-parser", NULL, test_scgi_parser); test_add_simple (&test, "/websockets", NULL, test_websockets); - // TODO: test FastCGI + // TODO: test FastCGI and MPD return test_run (&test); } -- cgit v1.2.3-70-g09d2