Fixed issue #3848: "Git Sync..." > "Compare tags" does not properly clear state from...
[TortoiseGit.git] / src / TortoisePlink / sshsignals.h
blob5feb35a8e43a702e144a4cb20696fc8c4579bdc2
1 /*
2 * List of signal names known to SSH, indicating whether PuTTY's UI
3 * for special session commands likes to put them in the main specials
4 * menu or in a submenu (and if the former, what title they have).
6 * This is a separate header file rather than my usual style of a
7 * parametric list macro, because in this case I need to be able to
8 * #ifdef out each mode in case it's not defined on a particular
9 * target system.
11 * If you want only the locally defined signals, #define
12 * SIGNALS_LOCAL_ONLY before including this header.
15 #if !defined SIGNALS_LOCAL_ONLY || defined SIGINT
16 SIGNAL_MAIN(INT, "Interrupt")
17 #endif
18 #if !defined SIGNALS_LOCAL_ONLY || defined SIGTERM
19 SIGNAL_MAIN(TERM, "Terminate")
20 #endif
21 #if !defined SIGNALS_LOCAL_ONLY || defined SIGKILL
22 SIGNAL_MAIN(KILL, "Kill")
23 #endif
24 #if !defined SIGNALS_LOCAL_ONLY || defined SIGQUIT
25 SIGNAL_MAIN(QUIT, "Quit")
26 #endif
27 #if !defined SIGNALS_LOCAL_ONLY || defined SIGHUP
28 SIGNAL_MAIN(HUP, "Hangup")
29 #endif
30 #if !defined SIGNALS_LOCAL_ONLY || defined SIGABRT
31 SIGNAL_SUB(ABRT)
32 #endif
33 #if !defined SIGNALS_LOCAL_ONLY || defined SIGALRM
34 SIGNAL_SUB(ALRM)
35 #endif
36 #if !defined SIGNALS_LOCAL_ONLY || defined SIGFPE
37 SIGNAL_SUB(FPE)
38 #endif
39 #if !defined SIGNALS_LOCAL_ONLY || defined SIGILL
40 SIGNAL_SUB(ILL)
41 #endif
42 #if !defined SIGNALS_LOCAL_ONLY || defined SIGPIPE
43 SIGNAL_SUB(PIPE)
44 #endif
45 #if !defined SIGNALS_LOCAL_ONLY || defined SIGSEGV
46 SIGNAL_SUB(SEGV)
47 #endif
48 #if !defined SIGNALS_LOCAL_ONLY || defined SIGUSR1
49 SIGNAL_SUB(USR1)
50 #endif
51 #if !defined SIGNALS_LOCAL_ONLY || defined SIGUSR2
52 SIGNAL_SUB(USR2)
53 #endif