partial implementation of native protocol

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@30 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-06-20 01:12:13 +00:00
parent a84f38e611
commit eecf602476
16 changed files with 683 additions and 113 deletions

View file

@ -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