diff options
Diffstat (limited to 'src/havegecmd.h')
-rw-r--r-- | src/havegecmd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/havegecmd.h b/src/havegecmd.h index 19a1823..5394147 100644 --- a/src/havegecmd.h +++ b/src/havegecmd.h @@ -1,7 +1,7 @@ /** ** Provide HAVEGE socket communication API ** - ** Copyright 2018-2021 Jirka Hladky hladky DOT jiri AT gmail DOT com + ** Copyright 2018-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com ** Copyright 2018 Werner Fink <werner@suse.de> ** ** This program is free software: you can redistribute it and/or modify @@ -40,7 +40,7 @@ extern "C" { #define ASCII_ACK "\x6" /* ASCII acknowledge */ #define ASCII_NAK "\x15" /* ASCII negative acknowledge */ #define ASCII_STX "\x2" /* ASCII start of text */ - + #ifndef SOCK_CLOEXEC #define SOCK_CLOEXEC 0 #endif @@ -49,6 +49,8 @@ extern "C" { #define SOCK_NONBLOCK 0 #endif +#define SEM_NAME "haveged_sem" + /** * Open and listen on a UNIX socket to get command from there */ |