diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-08 13:25:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-08 13:25:18 +0200 |
commit | 14795c8cdcf6a15e369736be955c8a8a21495f88 (patch) | |
tree | 85c793a480118c060436b8d9f6e56cb450540f6c /src/mds-base.h | |
parent | move reconnect_to_display todo into todo file (diff) | |
download | mds-14795c8cdcf6a15e369736be955c8a8a21495f88.tar.gz mds-14795c8cdcf6a15e369736be955c8a8a21495f88.tar.bz2 mds-14795c8cdcf6a15e369736be955c8a8a21495f88.tar.xz |
add received_danger
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-base.h')
-rw-r--r-- | src/mds-base.h | 11 |
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 |