summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-03 03:08:14 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-03 03:08:14 +0100
commit50bfa774f69cd3ee62477f3d21f2b2b25e8d82c6 (patch)
tree26798d93da4b73e53f08a9dd282fea1e7bc0f43f
parente47d03dea446d0387a7c07a470c9c680537d9c34 (diff)
add new error code PA_ERR_NOTIMPLEMENTED
-rw-r--r--src/pulse/def.h1
-rw-r--r--src/pulse/error.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index 85ac701d..1acf19a0 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -364,6 +364,7 @@ enum {
PA_ERR_UNKNOWN, /**< The error code was unknown to the client */
PA_ERR_NOEXTENSION, /**< Extension does not exist. \since 0.9.12 */
PA_ERR_OBSOLETE, /**< Obsolete functionality. \since 0.9.15 */
+ PA_ERR_NOTIMPLEMENTED, /**< Missing implementation. \since 0.9.15 */
PA_ERR_MAX /**< Not really an error but the first invalid error code */
};
diff --git a/src/pulse/error.c b/src/pulse/error.c
index d9d0a8c6..d37084bb 100644
--- a/src/pulse/error.c
+++ b/src/pulse/error.c
@@ -61,7 +61,9 @@ const char*pa_strerror(int error) {
[PA_ERR_TOOLARGE] = N_("Too large"),
[PA_ERR_NOTSUPPORTED] = N_("Not supported"),
[PA_ERR_UNKNOWN] = N_("Unknown error code"),
- [PA_ERR_NOEXTENSION] = N_("No such extension")
+ [PA_ERR_NOEXTENSION] = N_("No such extension"),
+ [PA_ERR_OBSOLETE] = N_("Obsolete functionality"),
+ [PA_ERR_NOTIMPLEMENTED] = N_("Missing implementation")
};
pa_init_i18n();