diff options
Diffstat (limited to 'ctdb/common/sock_daemon.h')
-rw-r--r-- | ctdb/common/sock_daemon.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ctdb/common/sock_daemon.h b/ctdb/common/sock_daemon.h index a071833c2f3..a28f8c6f39c 100644 --- a/ctdb/common/sock_daemon.h +++ b/ctdb/common/sock_daemon.h @@ -208,6 +208,16 @@ int sock_daemon_add_unix(struct sock_daemon_context *sockd, void *private_data); /** + * @brief Set file descriptor for indicating startup success + * + * On successful completion, 0 (unsigned int) will be written to the fd. + * + * @param[in] sockd Socket daemon context + * @param[in] fd File descriptor + */ +void sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd); + +/** * @brief Async computation start to run a socket daemon * * @param[in] mem_ctx Talloc memory context |