summaryrefslogtreecommitdiff
path: root/src/server/signal.h
blob: 0a217152bd5fe07f4c54db6580a4af4f4174aecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: BSD-3-Clause

#ifndef INVERTER_TOOLS_SIGNAL_H
#define INVERTER_TOOLS_SIGNAL_H

#include <csignal>

namespace server {

extern volatile sig_atomic_t shutdownCaught;

void set_signal_handlers();

}

#endif //INVERTER_TOOLS_SIGNAL_H