mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
23e24c503c
A new helper functions which sets up an event attached to the child's stdout/stderr which gets routed to the logging callback after being placed in the normal logs. This is a generalization of the previous code which was hardcoded to call ctdb_log_event_script_output. The only subtlety is that we hang the child fds off the output buffer; the destructor for that will flush, which means it has to be destroyed before the output buffer is. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 32cfdc3aec34272612f43a3588e4cabed9c85b68) |
||
---|---|---|
.. | ||
cmdline.h | ||
ctdb_private.h | ||
ctdb.h | ||
idtree.h | ||
includes.h |