CSE-release/signals.h

41 lines
1004 B
C
Raw Permalink Normal View History

2024-04-02 04:55:14 +00:00
/* SPDX-License-Identifier: Apache-2.0 */
/**
* @file signals.h
*
* @brief Header file for signal handling functions
*
* @copyright Copyright (C) 2024 Jackrabbit Founders LLC. All rights reserved.
*
* @date Jan 2024
* @author Barrett Edwards <code@jrlabs.io>
*
*/
#ifndef _SIGNALS_H
#define _SIGNALS_H
/* INCLUDES ==================================================================*/
/* MACROS ====================================================================*/
/* ENUMERATIONS ==============================================================*/
/* STRUCTS ===================================================================*/
/* PROTOTYPES ================================================================*/
/**
* Register signal handlers
*/
void signals_register();
/**
* Handler for SIGINT (CTRL-C)
*/
void signals_sigint(int sig);
/* GLOBAL VARIABLES ==========================================================*/
extern int stop_requested;
#endif //ifndef _SIGNALS_H