s3:streams: check for :$DATA only in the backend (fix bug #6642)
[Samba/bb.git] / librpc / gen_ndr / cli_dssetup.h
blob24b476496f1b31119134e7596c8d198cb32a6dfd
1 #include "../librpc/gen_ndr/ndr_dssetup.h"
2 #ifndef __CLI_DSSETUP__
3 #define __CLI_DSSETUP__
4 struct tevent_req *rpccli_dssetup_DsRoleGetPrimaryDomainInformation_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 enum dssetup_DsRoleInfoLevel _level /* [in] */,
8 union dssetup_DsRoleInfo *_info /* [out] [unique,switch_is(level)] */);
9 NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation_recv(struct tevent_req *req,
10 TALLOC_CTX *mem_ctx,
11 WERROR *result);
12 NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client *cli,
13 TALLOC_CTX *mem_ctx,
14 enum dssetup_DsRoleInfoLevel level /* [in] */,
15 union dssetup_DsRoleInfo *info /* [out] [unique,switch_is(level)] */,
16 WERROR *werror);
17 struct tevent_req *rpccli_dssetup_DsRoleDnsNameToFlatName_send(TALLOC_CTX *mem_ctx,
18 struct tevent_context *ev,
19 struct rpc_pipe_client *cli);
20 NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName_recv(struct tevent_req *req,
21 TALLOC_CTX *mem_ctx,
22 WERROR *result);
23 NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli,
24 TALLOC_CTX *mem_ctx,
25 WERROR *werror);
26 struct tevent_req *rpccli_dssetup_DsRoleDcAsDc_send(TALLOC_CTX *mem_ctx,
27 struct tevent_context *ev,
28 struct rpc_pipe_client *cli);
29 NTSTATUS rpccli_dssetup_DsRoleDcAsDc_recv(struct tevent_req *req,
30 TALLOC_CTX *mem_ctx,
31 WERROR *result);
32 NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli,
33 TALLOC_CTX *mem_ctx,
34 WERROR *werror);
35 struct tevent_req *rpccli_dssetup_DsRoleDcAsReplica_send(TALLOC_CTX *mem_ctx,
36 struct tevent_context *ev,
37 struct rpc_pipe_client *cli);
38 NTSTATUS rpccli_dssetup_DsRoleDcAsReplica_recv(struct tevent_req *req,
39 TALLOC_CTX *mem_ctx,
40 WERROR *result);
41 NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli,
42 TALLOC_CTX *mem_ctx,
43 WERROR *werror);
44 struct tevent_req *rpccli_dssetup_DsRoleDemoteDc_send(TALLOC_CTX *mem_ctx,
45 struct tevent_context *ev,
46 struct rpc_pipe_client *cli);
47 NTSTATUS rpccli_dssetup_DsRoleDemoteDc_recv(struct tevent_req *req,
48 TALLOC_CTX *mem_ctx,
49 WERROR *result);
50 NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli,
51 TALLOC_CTX *mem_ctx,
52 WERROR *werror);
53 struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationProgress_send(TALLOC_CTX *mem_ctx,
54 struct tevent_context *ev,
55 struct rpc_pipe_client *cli);
56 NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress_recv(struct tevent_req *req,
57 TALLOC_CTX *mem_ctx,
58 WERROR *result);
59 NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli,
60 TALLOC_CTX *mem_ctx,
61 WERROR *werror);
62 struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationResults_send(TALLOC_CTX *mem_ctx,
63 struct tevent_context *ev,
64 struct rpc_pipe_client *cli);
65 NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults_recv(struct tevent_req *req,
66 TALLOC_CTX *mem_ctx,
67 WERROR *result);
68 NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli,
69 TALLOC_CTX *mem_ctx,
70 WERROR *werror);
71 struct tevent_req *rpccli_dssetup_DsRoleCancel_send(TALLOC_CTX *mem_ctx,
72 struct tevent_context *ev,
73 struct rpc_pipe_client *cli);
74 NTSTATUS rpccli_dssetup_DsRoleCancel_recv(struct tevent_req *req,
75 TALLOC_CTX *mem_ctx,
76 WERROR *result);
77 NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli,
78 TALLOC_CTX *mem_ctx,
79 WERROR *werror);
80 struct tevent_req *rpccli_dssetup_DsRoleServerSaveStateForUpgrade_send(TALLOC_CTX *mem_ctx,
81 struct tevent_context *ev,
82 struct rpc_pipe_client *cli);
83 NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade_recv(struct tevent_req *req,
84 TALLOC_CTX *mem_ctx,
85 WERROR *result);
86 NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client *cli,
87 TALLOC_CTX *mem_ctx,
88 WERROR *werror);
89 struct tevent_req *rpccli_dssetup_DsRoleUpgradeDownlevelServer_send(TALLOC_CTX *mem_ctx,
90 struct tevent_context *ev,
91 struct rpc_pipe_client *cli);
92 NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer_recv(struct tevent_req *req,
93 TALLOC_CTX *mem_ctx,
94 WERROR *result);
95 NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli,
96 TALLOC_CTX *mem_ctx,
97 WERROR *werror);
98 struct tevent_req *rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_send(TALLOC_CTX *mem_ctx,
99 struct tevent_context *ev,
100 struct rpc_pipe_client *cli);
101 NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_recv(struct tevent_req *req,
102 TALLOC_CTX *mem_ctx,
103 WERROR *result);
104 NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client *cli,
105 TALLOC_CTX *mem_ctx,
106 WERROR *werror);
107 #endif /* __CLI_DSSETUP__ */