00001 00019 #ifndef SIGMENU_H 00020 #define SIGMENU_H 00021 00022 /* ================= 00023 Include Files and Type Defines 00024 ==================== */ 00025 #include "cutil.h" 00026 #include <signal.h> 00027 00028 /* functions to be placed in the signal menu look like: */ 00029 //typedef int (*SIG_MENU_FUNC)(...); 00030 /* the value returned from a SIG_MENU_FUNC must be one of the following */ 00031 #define SIG_RESUME 1 00032 #define SIG_MENU 0 00033 00034 /* ================= 00035 Public Function Prototypes 00036 ==================== */ 00037 void AddSignalMenuItem (int Signal, 00038 int ItemNum, 00039 const char ItemLabel[], int_void ItemFunc); 00040 #endif