aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server.h')
-rw-r--r--src/mds-server.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mds-server.h b/src/mds-server.h
index 7b03501..db1e122 100644
--- a/src/mds-server.h
+++ b/src/mds-server.h
@@ -75,6 +75,14 @@ char* getenv_nonempty(const char* var);
*/
void run_initrc(char** args);
+/**
+ * Called with the signal SIGUSR1 is caught.
+ * This function should cue a re-exec of the program.
+ *
+ * @param signo The caught signal
+ */
+void sigusr1_trap(int signo);
+
#endif