summaryrefslogtreecommitdiffstats
path: root/src/protocol-simple.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-08 23:54:24 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-08 23:54:24 +0000
commit9cb0b933e260008c6a03e24a4a149f726b8d86b2 (patch)
treeb54651bafe32d1a817e779f884d1628176465bf0 /src/protocol-simple.h
parentb1c00dcd0ae51d201f772e7f5fa61acae436a2cf (diff)
initial commit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@3 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/protocol-simple.h')
-rw-r--r--src/protocol-simple.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/protocol-simple.h b/src/protocol-simple.h
new file mode 100644
index 00000000..f6210436
--- /dev/null
+++ b/src/protocol-simple.h
@@ -0,0 +1,17 @@
+#ifndef fooprotocolsimplehfoo
+#define fooprotocolsimplehfoo
+
+#include "socket-server.h"
+
+struct protocol_simple;
+
+enum protocol_simple_mode {
+ PROTOCOL_SIMPLE_RECORD = 1,
+ PROTOCOL_SIMPLE_PLAYBACK = 2,
+ PROTOCOL_SIMPLE_DUPLEX = 3
+};
+
+struct protocol_simple* protocol_simple_new(struct core *core, struct socket_server *server, enum protocol_simple_mode mode);
+void protocol_simple_free(struct protocol_simple *n);
+
+#endif