diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-11 09:37:22 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-11 09:37:22 +0200 |
commit | 2a15b1de700eb4e20c6bebb9742c8e20fffc9687 (patch) | |
tree | 7c9a1f4bbe99dfa5107b58052ef81d7140f68154 /tests | |
parent | dc54db906945ac1db84582caeb4c47d4cb89acb5 (diff) | |
download | liberty-2a15b1de700eb4e20c6bebb9742c8e20fffc9687.tar.gz liberty-2a15b1de700eb4e20c6bebb9742c8e20fffc9687.tar.xz liberty-2a15b1de700eb4e20c6bebb9742c8e20fffc9687.zip |
Import an MPD client interface
Diffstat (limited to 'tests')
-rw-r--r-- | tests/proto.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |