diff options
author | Ben Pfaff <blp@nicira.com> | 2011-03-31 16:23:50 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-04-04 10:58:55 -0700 |
commit | 279c9e030818e039bb1c26be76e2cc1e8f6b13a6 (patch) | |
tree | d0b34b231861a6611ebe227326365c778aa3eac8 /lib/socket-util.h | |
parent | fcaddd4dd1e8feefc09ea2664ad51fb669d136f8 (diff) |
Log anything that could prevent a daemon from starting.
If a daemon doesn't start, we need to know why. Being able to
consistently consult the log to find out is helpful.
Diffstat (limited to 'lib/socket-util.h')
-rw-r--r-- | lib/socket-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/socket-util.h b/lib/socket-util.h index f4e617a6..8c5af396 100644 --- a/lib/socket-util.h +++ b/lib/socket-util.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,4 +48,6 @@ int write_fully(int fd, const void *, size_t, size_t *bytes_written); int fsync_parent_dir(const char *file_name); int get_mtime(const char *file_name, struct timespec *mtime); +void xpipe(int fds[2]); + #endif /* socket-util.h */ |