diff options
author | Ben Pfaff <blp@nicira.com> | 2009-09-21 12:37:20 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2009-09-21 16:44:58 -0700 |
commit | 6a0061cbf5d8e2637040c54140c90e474b6543ca (patch) | |
tree | 1a1280d2a21b6ae503cd9ce074992bd6d1374a52 /lib/fatal-signal.h | |
parent | 411baaacb8672cd9b231328b77a5f1c8a11aad9c (diff) |
fatal-signal: New function fatal_signal_unlink_file_now().
This is a helper function that combines two actions that callers commonly
wanted. It will have an additional user in an upcoming commit.
Diffstat (limited to 'lib/fatal-signal.h')
-rw-r--r-- | lib/fatal-signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fatal-signal.h b/lib/fatal-signal.h index 0bce1e27..c96db86d 100644 --- a/lib/fatal-signal.h +++ b/lib/fatal-signal.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Nicira Networks. + * Copyright (c) 2008, 2009 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ void fatal_signal_fork(void); * exit(). */ void fatal_signal_add_file_to_unlink(const char *); void fatal_signal_remove_file_to_unlink(const char *); +int fatal_signal_unlink_file_now(const char *); /* Interface for other code that catches one of our signals and needs to pass * it through. */ |