diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-07-06 00:08:44 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-07-06 00:08:44 +0000 |
commit | f8cbde54dab2783e2c6ba699dfaee9ef51b1e098 (patch) | |
tree | 7bdcc21f3b25d521207d19c8ca26eb26229b6bb7 /src/protocol-native-spec.h | |
parent | 722c2c8c8785d215ec3ec8757168b82c9600f4a3 (diff) |
auth support in esound and native
AUTH and SET_NAME operatins in native
simple library
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@51 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/protocol-native-spec.h')
-rw-r--r-- | src/protocol-native-spec.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/protocol-native-spec.h b/src/protocol-native-spec.h index df11ae3c..07fc735b 100644 --- a/src/protocol-native-spec.h +++ b/src/protocol-native-spec.h @@ -11,6 +11,8 @@ enum { PA_COMMAND_DELETE_RECORD_STREAM, PA_COMMAND_EXIT, PA_COMMAND_REQUEST, + PA_COMMAND_AUTH, + PA_COMMAND_SET_NAME, PA_COMMAND_MAX }; @@ -23,7 +25,13 @@ enum { PA_ERROR_NOENTITY, PA_ERROR_CONNECTIONREFUSED, PA_ERROR_PROTOCOL, - PA_ERROR_TIMEOUT + PA_ERROR_TIMEOUT, + PA_ERROR_AUTHKEY, + PA_ERROR_INTERNAL, + PA_ERROR_MAX }; +#define PA_NATIVE_COOKIE_LENGTH 256 +#define PA_NATIVE_COOKIE_FILE ".polypaudio-cookie" + #endif |