summaryrefslogtreecommitdiffstats
path: root/src/shared/nscd-flush.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shared/nscd-flush.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/nscd-flush.h b/src/shared/nscd-flush.h
new file mode 100644
index 0000000..dac223e
--- /dev/null
+++ b/src/shared/nscd-flush.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#if ENABLE_NSCD
+int nscd_flush_cache(char **databases);
+#else
+static inline void nscd_flush_cache(char **databases) {}
+#endif