1#include "../librpc/gen_ndr/ndr_dssetup.h"
2#ifndef __CLI_DSSETUP__
3#define __CLI_DSSETUP__
4struct 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)] */);
9NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation_recv(struct tevent_req *req,
10							       TALLOC_CTX *mem_ctx,
11							       WERROR *result);
12NTSTATUS 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);
17struct tevent_req *rpccli_dssetup_DsRoleDnsNameToFlatName_send(TALLOC_CTX *mem_ctx,
18							       struct tevent_context *ev,
19							       struct rpc_pipe_client *cli);
20NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName_recv(struct tevent_req *req,
21						     TALLOC_CTX *mem_ctx,
22						     WERROR *result);
23NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli,
24						TALLOC_CTX *mem_ctx,
25						WERROR *werror);
26struct tevent_req *rpccli_dssetup_DsRoleDcAsDc_send(TALLOC_CTX *mem_ctx,
27						    struct tevent_context *ev,
28						    struct rpc_pipe_client *cli);
29NTSTATUS rpccli_dssetup_DsRoleDcAsDc_recv(struct tevent_req *req,
30					  TALLOC_CTX *mem_ctx,
31					  WERROR *result);
32NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli,
33				     TALLOC_CTX *mem_ctx,
34				     WERROR *werror);
35struct tevent_req *rpccli_dssetup_DsRoleDcAsReplica_send(TALLOC_CTX *mem_ctx,
36							 struct tevent_context *ev,
37							 struct rpc_pipe_client *cli);
38NTSTATUS rpccli_dssetup_DsRoleDcAsReplica_recv(struct tevent_req *req,
39					       TALLOC_CTX *mem_ctx,
40					       WERROR *result);
41NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli,
42					  TALLOC_CTX *mem_ctx,
43					  WERROR *werror);
44struct tevent_req *rpccli_dssetup_DsRoleDemoteDc_send(TALLOC_CTX *mem_ctx,
45						      struct tevent_context *ev,
46						      struct rpc_pipe_client *cli);
47NTSTATUS rpccli_dssetup_DsRoleDemoteDc_recv(struct tevent_req *req,
48					    TALLOC_CTX *mem_ctx,
49					    WERROR *result);
50NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli,
51				       TALLOC_CTX *mem_ctx,
52				       WERROR *werror);
53struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationProgress_send(TALLOC_CTX *mem_ctx,
54								    struct tevent_context *ev,
55								    struct rpc_pipe_client *cli);
56NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress_recv(struct tevent_req *req,
57							  TALLOC_CTX *mem_ctx,
58							  WERROR *result);
59NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli,
60						     TALLOC_CTX *mem_ctx,
61						     WERROR *werror);
62struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationResults_send(TALLOC_CTX *mem_ctx,
63								   struct tevent_context *ev,
64								   struct rpc_pipe_client *cli);
65NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults_recv(struct tevent_req *req,
66							 TALLOC_CTX *mem_ctx,
67							 WERROR *result);
68NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli,
69						    TALLOC_CTX *mem_ctx,
70						    WERROR *werror);
71struct tevent_req *rpccli_dssetup_DsRoleCancel_send(TALLOC_CTX *mem_ctx,
72						    struct tevent_context *ev,
73						    struct rpc_pipe_client *cli);
74NTSTATUS rpccli_dssetup_DsRoleCancel_recv(struct tevent_req *req,
75					  TALLOC_CTX *mem_ctx,
76					  WERROR *result);
77NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli,
78				     TALLOC_CTX *mem_ctx,
79				     WERROR *werror);
80struct tevent_req *rpccli_dssetup_DsRoleServerSaveStateForUpgrade_send(TALLOC_CTX *mem_ctx,
81								       struct tevent_context *ev,
82								       struct rpc_pipe_client *cli);
83NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade_recv(struct tevent_req *req,
84							     TALLOC_CTX *mem_ctx,
85							     WERROR *result);
86NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client *cli,
87							TALLOC_CTX *mem_ctx,
88							WERROR *werror);
89struct tevent_req *rpccli_dssetup_DsRoleUpgradeDownlevelServer_send(TALLOC_CTX *mem_ctx,
90								    struct tevent_context *ev,
91								    struct rpc_pipe_client *cli);
92NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer_recv(struct tevent_req *req,
93							  TALLOC_CTX *mem_ctx,
94							  WERROR *result);
95NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli,
96						     TALLOC_CTX *mem_ctx,
97						     WERROR *werror);
98struct tevent_req *rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_send(TALLOC_CTX *mem_ctx,
99									 struct tevent_context *ev,
100									 struct rpc_pipe_client *cli);
101NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_recv(struct tevent_req *req,
102							       TALLOC_CTX *mem_ctx,
103							       WERROR *result);
104NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client *cli,
105							  TALLOC_CTX *mem_ctx,
106							  WERROR *werror);
107#endif /* __CLI_DSSETUP__ */
108