87 lines
2.5 KiB
C
87 lines
2.5 KiB
C
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: signal.h,v $ $Revision: 1.2 $
|
|
* $Source: /home/interpeak/CVSRoot/ipxinc/include/signal.h,v $
|
|
* $Author: lob $ $Date: 2006-04-10 11:03:29 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Lennart Bang <lob@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IP_SIGNAL_H
|
|
#define IP_SIGNAL_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include "ipcom_config.h"
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include "sys/signal.h"
|
|
|
|
#include "ipcom_type.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifndef NETSNMP_INTERPEAK
|
|
#if defined(GATED_INTERPEAK)
|
|
#define signal(s,f) ipk_signal(s,f)
|
|
#elif (defined(IPCOM_SIGNAL) && IPCOM_SIGNAL == 1) || defined(IPCOM_PORT_SIGNAL)
|
|
#define signal(s,f) ipcom_signal(s,f)
|
|
#elif defined(IPCOM_SIGNAL)
|
|
#define signal(s,f) IPCOM_SIGNAL(s,f)
|
|
#endif
|
|
#endif /* #ifndef NETSNMP_INTERPEAK */
|
|
|
|
IP_PUBLIC int ipk_kill(Ip_pid_t pid, int sig);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|