summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-26 12:27:32 +0200
committerVolker Lendecke <vl@samba.org>2009-08-29 19:42:26 +0200
commit425239caeeb22cb0a221a38b70f2f2dc8b64bdcc (patch)
treeced3de38fce0f02f9afb54c73b518d4b5014745f /source3/winbindd/winbindd_proto.h
parent15312e7310b63fbb22db319f201a8ce4f667ea62 (diff)
downloadsamba-425239caeeb22cb0a221a38b70f2f2dc8b64bdcc.tar.gz
samba-425239caeeb22cb0a221a38b70f2f2dc8b64bdcc.tar.bz2
samba-425239caeeb22cb0a221a38b70f2f2dc8b64bdcc.zip
s3:winbind: Convert the GETDCNAME routines to the new API
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index bf1e8a297d..930d48b458 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -447,7 +447,6 @@ void winbindd_list_ent(struct winbindd_cli_state *state, enum ent_type type);
void winbindd_list_trusted_domains(struct winbindd_cli_state *state);
enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain *domain,
struct winbindd_cli_state *state);
-void winbindd_getdcname(struct winbindd_cli_state *state);
enum winbindd_result winbindd_dual_getdcname(struct winbindd_domain *domain,
struct winbindd_cli_state *state);
void winbindd_show_sequence(struct winbindd_cli_state *state);
@@ -905,4 +904,11 @@ struct tevent_req *wb_dsgetdcname_send(TALLOC_CTX *mem_ctx,
NTSTATUS wb_dsgetdcname_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
struct netr_DsRGetDCNameInfo **pdcinfo);
+struct tevent_req *winbindd_getdcname_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct winbindd_cli_state *cli,
+ struct winbindd_request *request);
+NTSTATUS winbindd_getdcname_recv(struct tevent_req *req,
+ struct winbindd_response *response);
+
#endif /* _WINBINDD_PROTO_H_ */