Various fixes and improvements, backported from Pro version. Code by Erik Zandvliet.
This commit is contained in:
parent
5cce37c521
commit
b28a619fc6
13 changed files with 383 additions and 550 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <string>
|
||||
#include "json.h"
|
||||
#include <signal.h>
|
||||
|
||||
/// Contains utility code, not directly related to streaming media
|
||||
namespace Util {
|
||||
|
@ -18,7 +19,7 @@ namespace Util {
|
|||
private:
|
||||
JSON::Value vals; ///< Holds all current config values
|
||||
int long_count;
|
||||
static void signal_handler(int signum);
|
||||
static void signal_handler(int signum, siginfo_t * sigInfo, void * ignore);
|
||||
public:
|
||||
//variables
|
||||
static bool is_active; ///< Set to true by activate(), set to false by the signal handler.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue