diff options
author | Max Kellermann <max@duempel.org> | 2009-01-01 18:51:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-01 18:51:17 +0100 |
commit | 2f71b647f48592ced0811ec66907068a3e236d6a (patch) | |
tree | 002b64888a21e6e855585128e64aa39c4fcfae9e /src/event_pipe.h | |
parent | e93136ef0fac69b4bb7f02ba7e3b348827d597ea (diff) | |
download | mpd-2f71b647f48592ced0811ec66907068a3e236d6a.tar.gz mpd-2f71b647f48592ced0811ec66907068a3e236d6a.tar.xz mpd-2f71b647f48592ced0811ec66907068a3e236d6a.zip |
sig_handlers: use event_pipe for delivering SIGHUP
The signal_check library went out of order when we started using the
GLib main loop. Convert the SIGHUP handler to use event_pipe instead.
Diffstat (limited to 'src/event_pipe.h')
-rw-r--r-- | src/event_pipe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event_pipe.h b/src/event_pipe.h index 8da10c759..3888939c8 100644 --- a/src/event_pipe.h +++ b/src/event_pipe.h @@ -40,6 +40,9 @@ enum pipe_event { /** must call syncPlayerAndPlaylist() */ PIPE_EVENT_PLAYLIST, + /** SIGHUP received: reload configuration, roll log file */ + PIPE_EVENT_RELOAD, + PIPE_EVENT_MAX }; |