summaryrefslogtreecommitdiffstats
path: root/src/popen.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libnetdata/popen/popen.h (renamed from src/popen.h)7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/popen.h b/libnetdata/popen/popen.h
index 3dd79bb4d..90d4b829b 100644
--- a/src/popen.h
+++ b/libnetdata/popen/popen.h
@@ -1,6 +1,10 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef NETDATA_POPEN_H
#define NETDATA_POPEN_H 1
+#include "../libnetdata.h"
+
#define PIPE_READ 0
#define PIPE_WRITE 1
@@ -8,4 +12,7 @@ extern FILE *mypopen(const char *command, volatile pid_t *pidptr);
extern FILE *mypopene(const char *command, volatile pid_t *pidptr, char **env);
extern int mypclose(FILE *fp, pid_t pid);
+extern void signals_unblock(void);
+extern void signals_reset(void);
+
#endif /* NETDATA_POPEN_H */