From 14795c8cdcf6a15e369736be955c8a8a21495f88 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 8 Sep 2014 13:25:18 +0200 Subject: add received_danger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-base.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/mds-base.h') 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 @@ -201,6 +201,17 @@ int server_initialised(void); /* __attribute__((weak)) */ */ 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 -- cgit v1.2.3-70-g09d2