/* Copyright (C) 2011-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: dk3signl.ctr */ /** @file dk3signl.h Header file for the dk3signl module. */ #ifndef DK3SIGNL_H_INCLUDED /** Avoid multiple inclusions. */ #define DK3SIGNL_H_INCLUDED 1 #line 10 "dk3signl.ctr" #include "dk3conf.h" #include "dk3types.h" #ifdef __cplusplus extern "C" { #endif /** Set new handler for the specified signal. @param signo Signal number. @param fct Handler function address. @return The previous handler function address. */ dk3_signal_disp_t dk3signal_set(int signo, dk3_signal_disp_t fct); /** Refresh signal handler, if only signal() mechanism available. Should be a signal handlers first action. @param signo Signal number. @param fct Handler function address. */ void dk3signal_refresh(int signo, dk3_signal_disp_t fct); /** Find best available signal handling mechanism. @return DK3_SIGNAL_HANDLING_TYPE_xxx. */ int dk3signal_available(void); #ifdef __cplusplus } #endif #endif