summaryrefslogtreecommitdiffstats
path: root/src/shared/sysctl-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/sysctl-util.h')
-rw-r--r--src/shared/sysctl-util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shared/sysctl-util.h b/src/shared/sysctl-util.h
new file mode 100644
index 0000000..fd7c78b
--- /dev/null
+++ b/src/shared/sysctl-util.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+char *sysctl_normalize(char *s);
+int sysctl_read(const char *property, char **value);
+int sysctl_write(const char *property, const char *value);
+