diff options
author | castlec <castlec@yahoo.com> | 2010-12-05 14:29:17 -0500 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2010-12-14 19:08:20 +0100 |
commit | ed8029f2dd2405da766c3cae716a94c40dde0115 (patch) | |
tree | ffeee622073a73aceee879aa36be61b3ce693830 /src/main.h | |
parent | 32eafb121f1cca1303518c85c3d12da9a7c5f16e (diff) | |
download | pianobar-ed8029f2dd2405da766c3cae716a94c40dde0115.tar.gz pianobar-ed8029f2dd2405da766c3cae716a94c40dde0115.tar.bz2 pianobar-ed8029f2dd2405da766c3cae716a94c40dde0115.zip |
Refactored main()
No functional changes.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,8 @@ THE SOFTWARE. #include <piano.h> #include <waitress.h> +#include <sys/select.h> + #include "player.h" #include "settings.h" @@ -40,6 +42,10 @@ typedef struct { PianoSong_t *songHistory; PianoStation_t *curStation; char doQuit; + fd_set readSet; + int maxFd; + int selectFds[2]; + FILE *ctlFd; } BarApp_t; #endif /* _MAIN_H */ |