summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_async_helpers.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-09-25 21:01:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:54 -0500
commit9593101ec118dd242bf25fabf3e17c58269e632c (patch)
treec06ef0370effd18294efff90624a177dae059bb7 /source4/winbind/wb_async_helpers.h
parent06085e7bc09e46c74fbe050633203fab619d501c (diff)
downloadsamba-9593101ec118dd242bf25fabf3e17c58269e632c.tar.gz
samba-9593101ec118dd242bf25fabf3e17c58269e632c.tar.bz2
samba-9593101ec118dd242bf25fabf3e17c58269e632c.zip
r10491: First step towards wbinfo -t: This issues a name request for the primary
domain and gets the DC's name via a mailslot call. Metze, I renamed wbsrv_queue_reply to wbsrv_send_reply in accordance with irpc_send_reply. Having _queue_ here and _send_ there is a bit confusing. And as everything is async anyway, the semantics should not be too much of a problem. Volker (This used to be commit 4637964b19c6e9f7d201b287e2d409d029fced01)
Diffstat (limited to 'source4/winbind/wb_async_helpers.h')
-rw-r--r--source4/winbind/wb_async_helpers.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/source4/winbind/wb_async_helpers.h b/source4/winbind/wb_async_helpers.h
new file mode 100644
index 0000000000..6c4f1d84a8
--- /dev/null
+++ b/source4/winbind/wb_async_helpers.h
@@ -0,0 +1,36 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ SMB composite request interfaces
+
+ Copyright (C) Volker Lendecke 2005
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+struct wb_finddcs {
+ struct {
+ struct messaging_context *msg_ctx;
+ const char *domain;
+ } in;
+
+ struct {
+ int num_dcs;
+ struct nbt_dc_name {
+ const char *address;
+ const char *name;
+ } *dcs;
+ } out;
+};