diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-04-23 20:56:41 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-04-23 20:56:41 +0000 |
commit | 193fb122287256ff32e3761426207e2a3f224f3c (patch) | |
tree | 3c759ef2c54a872fa71c112546b7620df8589997 /src/polyp | |
parent | 335e23473fee2a6e40f838cd920ed13af3f93626 (diff) |
introduce a new error PA_ERR_TOOLARGE
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@785 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp')
-rw-r--r-- | src/polyp/def.h | 1 | ||||
-rw-r--r-- | src/polyp/error.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/polyp/def.h b/src/polyp/def.h index 517dd422..edada380 100644 --- a/src/polyp/def.h +++ b/src/polyp/def.h @@ -160,6 +160,7 @@ enum { PA_ERR_BADSTATE, /**< Bad state */ PA_ERR_NODATA, /**< No data */ PA_ERR_VERSION, /**< Incompatible protocol version \since 0.8 */ + PA_ERR_TOOLARGE, /**< Data too large \since 0.8.1 */ PA_ERR_MAX /**< Not really an error but the first invalid error code */ }; diff --git a/src/polyp/error.c b/src/polyp/error.c index 3f3e637f..e78d072e 100644 --- a/src/polyp/error.c +++ b/src/polyp/error.c @@ -49,6 +49,7 @@ static const char* const errortab[PA_ERR_MAX] = { [PA_ERR_BADSTATE] = "Bad state", [PA_ERR_NODATA] = "No data", [PA_ERR_VERSION] = "Incompatible protocol version", + [PA_ERR_TOOLARGE] = "Too large" }; const char*pa_strerror(int error) { |