aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-08 00:17:33 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-08 00:17:33 +0000
commit6a77e60c70d128af4b0fc0ea2a520e9b20411abc (patch)
tree5588bc70a092b144ac1da6ff70dddf6e76e06a6b /src/decode.h
parent3764b0608348815a9a8c59a0e4cb28236d82cb7d (diff)
downloadmpd-6a77e60c70d128af4b0fc0ea2a520e9b20411abc.tar.gz
mpd-6a77e60c70d128af4b0fc0ea2a520e9b20411abc.tar.xz
mpd-6a77e60c70d128af4b0fc0ea2a520e9b20411abc.zip
now player and decoder processes should only exit() when receiving term signal from their respective parent processes
git-svn-id: https://svn.musicpd.org/mpd/trunk@3034 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.h')
-rw-r--r--src/decode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decode.h b/src/decode.h
index fd9bc1949..b27fcf4e9 100644
--- a/src/decode.h
+++ b/src/decode.h
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <sys/param.h>
+#include <signal.h>
#define DECODE_TYPE_FILE 0
#define DECODE_TYPE_URL 1
@@ -61,7 +62,7 @@ typedef struct _DecoderControl {
volatile float totalTime;
} DecoderControl;
-void decodeSigHandler(int sig);
+void decodeSigHandler(int sig, siginfo_t * siginfo, void * v);
void decode();