diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-02 18:22:10 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-03-04 10:14:34 +0100 |
commit | 769cee44a2ed1b68cb757246efd72d63aa36a4d0 (patch) | |
tree | f3b5edddc515ddd653f9198991fdc8fd99491e9d /source3/winbindd/winbindd_proto.h | |
parent | 807f5f1a8b02176e03b00f4415c0cae1927b44a4 (diff) | |
download | samba-769cee44a2ed1b68cb757246efd72d63aa36a4d0.tar.gz samba-769cee44a2ed1b68cb757246efd72d63aa36a4d0.tar.bz2 samba-769cee44a2ed1b68cb757246efd72d63aa36a4d0.zip |
s3-winbindd: Add stdin handler for winbind
This will help avoid runaway processes in the test env, particularly when
the whole selftest.pl is killed.
Andrew Bartlett
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index b965fdaf1d..3746fe0268 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -28,10 +28,11 @@ struct messaging_context *winbind_messaging_context(void); void request_error(struct winbindd_cli_state *state); void request_ok(struct winbindd_cli_state *state); bool winbindd_setup_sig_term_handler(bool parent); +bool winbindd_setup_stdin_handler(bool parent, bool foreground); bool winbindd_setup_sig_hup_handler(const char *lfile); bool winbindd_use_idmap_cache(void); bool winbindd_use_cache(void); -void winbindd_register_handlers(void); +void winbindd_register_handlers(bool foreground); const char *get_winbind_pipe_dir(void); char *get_winbind_priv_pipe_dir(void); int main(int argc, char **argv, char **envp); |