summaryrefslogtreecommitdiffstats
path: root/src/haveged.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/haveged.h')
-rw-r--r--src/haveged.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/haveged.h b/src/haveged.h
index 6f38c17..e3dff92 100644
--- a/src/haveged.h
+++ b/src/haveged.h
@@ -32,6 +32,7 @@ struct pparams {
H_UINT buffersz; /* size of collection buffer (kb) */
H_UINT detached; /* non-zero if daemonized */
H_UINT foreground; /* non-zero if running in foreground */
+ H_UINT once; /* 1: refill entropy once and quit immediatelly */
H_UINT run_level; /* type of run 0=daemon,1=setup,2=pip,sample kb */
H_UINT d_cache; /* size of data cache (kb) */
H_UINT i_cache; /* size of instruction cache (kb) */
@@ -67,6 +68,7 @@ struct pparams {
#define SET_LWM 0x040
#define MULTI_CORE 0x080
#define CMD_MODE 0x100
+#define RUN_ONCE 0x200
/**
* Default tests settings
*/