summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_proto.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-04-24 04:11:27 +0000
committerAndrew Tridgell <tridge@samba.org>2002-04-24 04:11:27 +0000
commita67b5ac62fcd3e8bcef668a29094635a548e5744 (patch)
treea8a4ef1f3231dbfb0422620c8cae5b891a0c1339 /source3/nsswitch/winbindd_proto.h
parent27173b205f05aebd9226fa43fc40424bf8e79a72 (diff)
downloadsamba-a67b5ac62fcd3e8bcef668a29094635a548e5744.tar.gz
samba-a67b5ac62fcd3e8bcef668a29094635a548e5744.tar.bz2
samba-a67b5ac62fcd3e8bcef668a29094635a548e5744.zip
a new "dual daemon" operating mode for winbindd
this mode improves the response time of winbindd by having a background process update the cache while the forground process responds to queries from cache. You can enable this mode using the -B command line option. It is quite experimental, which is why it is not the default. (This used to be commit c0feff97eefdf5a70e5973e247b395dbdf5d2ef2)
Diffstat (limited to 'source3/nsswitch/winbindd_proto.h')
-rw-r--r--source3/nsswitch/winbindd_proto.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_proto.h b/source3/nsswitch/winbindd_proto.h
index f3830cd63c..8cac542b88 100644
--- a/source3/nsswitch/winbindd_proto.h
+++ b/source3/nsswitch/winbindd_proto.h
@@ -6,6 +6,9 @@
/* The following definitions come from nsswitch/winbindd.c */
+void winbind_process_packet(struct winbindd_cli_state *state);
+void winbind_client_read(struct winbindd_cli_state *state);
+int winbind_setup_common(void);
int main(int argc, char **argv);
/* The following definitions come from nsswitch/winbindd_ads.c */
@@ -39,6 +42,13 @@ NTSTATUS cm_get_netlogon_cli(char *domain, unsigned char *trust_passwd,
struct cli_state **cli);
void winbindd_cm_status(void);
+/* The following definitions come from nsswitch/winbindd_dual.c */
+
+int dual_select_setup(fd_set *fds, int maxfd);
+void dual_select(fd_set *fds);
+void dual_send_request(struct winbindd_cli_state *state);
+void do_dual_daemon(void);
+
/* The following definitions come from nsswitch/winbindd_group.c */
enum winbindd_result winbindd_getgrnam(struct winbindd_cli_state *state);