summaryrefslogtreecommitdiffstats
path: root/src/module-protocol-stub.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-20 01:12:13 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-20 01:12:13 +0000
commiteecf602476ff5b51bdc08f8fd0e4aa70d2b0ef5a (patch)
treecf193293791faa493736ec0f285b14df9c0ff2a2 /src/module-protocol-stub.c
parenta84f38e6117426a37da2f20b16b587672ee8f9d6 (diff)
partial implementation of native protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@30 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/module-protocol-stub.c')
-rw-r--r--src/module-protocol-stub.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/module-protocol-stub.c b/src/module-protocol-stub.c
index 9cbf236e..2387017c 100644
--- a/src/module-protocol-stub.c
+++ b/src/module-protocol-stub.c
@@ -7,15 +7,22 @@
#ifdef USE_PROTOCOL_SIMPLE
#include "protocol-simple.h"
#define protocol_free protocol_simple_free
- #define IPV4_PORT 4712
+ #define IPV4_PORT 4711
#else
#ifdef USE_PROTOCOL_CLI
#include "protocol-cli.h"
#define protocol_new protocol_cli_new
#define protocol_free protocol_cli_free
- #define IPV4_PORT 4711
+ #define IPV4_PORT 4712
#else
- #error "Broken build system"
+ #ifdef USE_PROTOCOL_NATIVE
+ #include "protocol-native.h"
+ #define protocol_new protocol_native_new
+ #define protocol_free protocol_native_free
+ #define IPV4_PORT 4713
+ #else
+ #error "Broken build system"
+ #endif
#endif
#endif