summaryrefslogtreecommitdiff
path: root/ctdb/common/sock_daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/common/sock_daemon.h')
-rw-r--r--ctdb/common/sock_daemon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/common/sock_daemon.h b/ctdb/common/sock_daemon.h
index a28f8c6f39c..fb0c6865328 100644
--- a/ctdb/common/sock_daemon.h
+++ b/ctdb/common/sock_daemon.h
@@ -214,8 +214,9 @@ int sock_daemon_add_unix(struct sock_daemon_context *sockd,
*
* @param[in] sockd Socket daemon context
* @param[in] fd File descriptor
+ * @return true on success, false on error
*/
-void sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd);
+bool sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd);
/**
* @brief Async computation start to run a socket daemon