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
,
12 NTSTATUS
rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client
*cli
,
14 enum dssetup_DsRoleInfoLevel level
/* [in] */,
15 union dssetup_DsRoleInfo
*info
/* [out] [unique,switch_is(level)] */,
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
,
23 NTSTATUS
rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client
*cli
,
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
,
32 NTSTATUS
rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client
*cli
,
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
,
41 NTSTATUS
rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client
*cli
,
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
,
50 NTSTATUS
rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client
*cli
,
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
,
59 NTSTATUS
rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client
*cli
,
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
,
68 NTSTATUS
rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client
*cli
,
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
,
77 NTSTATUS
rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client
*cli
,
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
,
86 NTSTATUS
rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client
*cli
,
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
,
95 NTSTATUS
rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client
*cli
,
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
,
104 NTSTATUS
rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client
*cli
,
107 #endif /* __CLI_DSSETUP__ */