Negotiate protocol version between server and client. Will allow smoother

protocol modifications in the future.


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@621 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-03-02 21:56:15 +00:00
parent fbaaf5acb7
commit bc97b29447
8 changed files with 55 additions and 3 deletions

View file

@ -48,6 +48,7 @@ static const char* const errortab[PA_ERR_MAX] = {
[PA_ERR_MODINITFAILED] = "Module initalization failed",
[PA_ERR_BADSTATE] = "Bad state",
[PA_ERR_NODATA] = "No data",
[PA_ERR_VERSION] = "Incompatible protocol version",
};
const char*pa_strerror(int error) {