aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-base.h')
-rw-r--r--src/mds-base.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mds-base.h b/src/mds-base.h
index 1ea132a..0b5f85a 100644
--- a/src/mds-base.h
+++ b/src/mds-base.h
@@ -203,6 +203,17 @@ void signal_all(int signo); /* __attribute__((weak)) */
/**
* This function is called when a signal that
+ * signals that the system is running out of memory
+ * has been received
+ *
+ * By default this function does not do anything
+ *
+ * @param signo The signal that has been received
+ */
+void received_danger(int signo);
+
+/**
+ * This function is called when a signal that
* signals the server to re-exec has been received
*
* When this function is invoked, it should set `reexecing` and