summaryrefslogtreecommitdiff
path: root/src/utils/reload.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-02-24 16:28:30 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-02-24 16:28:30 +0100
commit7115aa3b7f22f95e5e614ffc74c467844c08d965 (patch)
tree05e3b4efd07a602591d9828d5f24fab6eb4bf86f /src/utils/reload.hpp
parent9837f611d97bccdb4bf46f042120c3cb8d3fe907 (diff)
downloadbiboumi-7115aa3b7f22f95e5e614ffc74c467844c08d965.tar.gz
biboumi-7115aa3b7f22f95e5e614ffc74c467844c08d965.tar.bz2
biboumi-7115aa3b7f22f95e5e614ffc74c467844c08d965.tar.xz
biboumi-7115aa3b7f22f95e5e614ffc74c467844c08d965.zip
Add a reload add-hoc command
Diffstat (limited to 'src/utils/reload.hpp')
-rw-r--r--src/utils/reload.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/reload.hpp b/src/utils/reload.hpp
new file mode 100644
index 0000000..16d64f7
--- /dev/null
+++ b/src/utils/reload.hpp
@@ -0,0 +1,10 @@
+#ifndef RELOAD_HPP_INCLUDED
+#define RELOAD_HPP_INCLUDED
+
+/**
+ * Reload the server's configuration, and close the logger (so that it
+ * closes its files etc, to take into account the new configuration)
+ */
+void reload_process();
+
+#endif /* RELOAD_HPP_INCLUDED */