summaryrefslogtreecommitdiffstats
path: root/src/sighook.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sighook.h')
-rw-r--r--src/sighook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sighook.h b/src/sighook.h
index 3bece21..87bba4e 100644
--- a/src/sighook.h
+++ b/src/sighook.h
@@ -21,6 +21,8 @@ struct sighook;
enum sigflags {
/** Suppress the default action for this signal. */
SH_CONTINUE = 1 << 0,
+ /** Only run this hook once. */
+ SH_ONESHOT = 1 << 1,
};
/**