33 lines
722 B
C
Executable File
33 lines
722 B
C
Executable File
/****************************************************************************
|
|
* Header file for obisig *
|
|
****************************************************************************/
|
|
|
|
/**
|
|
* @file obisig.h
|
|
* @author Celine Mercier (celine.mercier@metabarcoding.org)
|
|
* @date September 2019
|
|
* @brief Header file for signal catching and handling.
|
|
*/
|
|
|
|
|
|
#ifndef OBISIG_H_
|
|
#define OBISIG_H_
|
|
|
|
#include <stdint.h>
|
|
#include <signal.h>
|
|
#include <stdbool.h>
|
|
|
|
|
|
/**
|
|
* @brief Signal handling.
|
|
*
|
|
* @since September 2019
|
|
* @author Celine Mercier (celine.mercier@metabarcoding.org)
|
|
*
|
|
*/
|
|
extern bool volatile keep_running;
|
|
void sig_handler(int signum);
|
|
|
|
|
|
#endif /* OBISIG_H_ */
|