diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-02 18:13:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-02 18:13:19 +0200 |
commit | bf5d5439499cbf62225ce744f2444d3c465d3f2f (patch) | |
tree | 0673799e7d30903ba57361821842ec55230e5add /src/mds-server.h | |
parent | some re-exec stuff (diff) | |
download | mds-bf5d5439499cbf62225ce744f2444d3c465d3f2f.tar.gz mds-bf5d5439499cbf62225ce744f2444d3c465d3f2f.tar.bz2 mds-bf5d5439499cbf62225ce744f2444d3c465d3f2f.tar.xz |
some more work on re-exec
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server.h | 8 |
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 |