summaryrefslogtreecommitdiffstats
path: root/src/pulse/def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-05 04:33:40 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-05 04:33:40 +0100
commit3122008704ad07fe4982de0e642576ca7613d7bf (patch)
tree9b95a7dfd4d5e88f2a517ea66a66b5af78e45fe9 /src/pulse/def.h
parent9d29b96ac08c2762b27f6b191ec5807ee3ce58e7 (diff)
try to detect when stupid clients forks and refuse all service from then on
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r--src/pulse/def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index 7f3a0c5d..3629aabc 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -389,6 +389,7 @@ enum {
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_FORKED, /**< The caler forked without calling execve() and tried to reuse the context. \since 0.9.15 */
PA_ERR_MAX /**< Not really an error but the first invalid error code */
};
@@ -417,6 +418,7 @@ enum {
#define PA_ERR_NOEXTENSION PA_ERR_NOEXTENSION
#define PA_ERR_OBSOLETE PA_ERR_OBSOLETE
#define PA_ERR_NOTIMPLEMENTED PA_ERR_NOTIMPLEMENTED
+#define PA_ERR_FORKED PA_ERR_FORKED
#define PA_ERR_MAX PA_ERR_MAX
/** \endcond */