1 #include "../librpc/gen_ndr/ndr_dssetup.h"
2 #ifndef __SRV_DSSETUP__
3 #define __SRV_DSSETUP__
4 WERROR
_dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct
*p
, struct dssetup_DsRoleGetPrimaryDomainInformation
*r
);
5 WERROR
_dssetup_DsRoleDnsNameToFlatName(pipes_struct
*p
, struct dssetup_DsRoleDnsNameToFlatName
*r
);
6 WERROR
_dssetup_DsRoleDcAsDc(pipes_struct
*p
, struct dssetup_DsRoleDcAsDc
*r
);
7 WERROR
_dssetup_DsRoleDcAsReplica(pipes_struct
*p
, struct dssetup_DsRoleDcAsReplica
*r
);
8 WERROR
_dssetup_DsRoleDemoteDc(pipes_struct
*p
, struct dssetup_DsRoleDemoteDc
*r
);
9 WERROR
_dssetup_DsRoleGetDcOperationProgress(pipes_struct
*p
, struct dssetup_DsRoleGetDcOperationProgress
*r
);
10 WERROR
_dssetup_DsRoleGetDcOperationResults(pipes_struct
*p
, struct dssetup_DsRoleGetDcOperationResults
*r
);
11 WERROR
_dssetup_DsRoleCancel(pipes_struct
*p
, struct dssetup_DsRoleCancel
*r
);
12 WERROR
_dssetup_DsRoleServerSaveStateForUpgrade(pipes_struct
*p
, struct dssetup_DsRoleServerSaveStateForUpgrade
*r
);
13 WERROR
_dssetup_DsRoleUpgradeDownlevelServer(pipes_struct
*p
, struct dssetup_DsRoleUpgradeDownlevelServer
*r
);
14 WERROR
_dssetup_DsRoleAbortDownlevelServerUpgrade(pipes_struct
*p
, struct dssetup_DsRoleAbortDownlevelServerUpgrade
*r
);
15 void dssetup_get_pipe_fns(struct api_struct
**fns
, int *n_fns
);
16 NTSTATUS
rpc_dssetup_dispatch(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, const struct ndr_interface_table
*table
, uint32_t opnum
, void *r
);
17 WERROR
_dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct
*p
, struct dssetup_DsRoleGetPrimaryDomainInformation
*r
);
18 WERROR
_dssetup_DsRoleDnsNameToFlatName(pipes_struct
*p
, struct dssetup_DsRoleDnsNameToFlatName
*r
);
19 WERROR
_dssetup_DsRoleDcAsDc(pipes_struct
*p
, struct dssetup_DsRoleDcAsDc
*r
);
20 WERROR
_dssetup_DsRoleDcAsReplica(pipes_struct
*p
, struct dssetup_DsRoleDcAsReplica
*r
);
21 WERROR
_dssetup_DsRoleDemoteDc(pipes_struct
*p
, struct dssetup_DsRoleDemoteDc
*r
);
22 WERROR
_dssetup_DsRoleGetDcOperationProgress(pipes_struct
*p
, struct dssetup_DsRoleGetDcOperationProgress
*r
);
23 WERROR
_dssetup_DsRoleGetDcOperationResults(pipes_struct
*p
, struct dssetup_DsRoleGetDcOperationResults
*r
);
24 WERROR
_dssetup_DsRoleCancel(pipes_struct
*p
, struct dssetup_DsRoleCancel
*r
);
25 WERROR
_dssetup_DsRoleServerSaveStateForUpgrade(pipes_struct
*p
, struct dssetup_DsRoleServerSaveStateForUpgrade
*r
);
26 WERROR
_dssetup_DsRoleUpgradeDownlevelServer(pipes_struct
*p
, struct dssetup_DsRoleUpgradeDownlevelServer
*r
);
27 WERROR
_dssetup_DsRoleAbortDownlevelServerUpgrade(pipes_struct
*p
, struct dssetup_DsRoleAbortDownlevelServerUpgrade
*r
);
28 NTSTATUS
rpc_dssetup_init(void);
29 #endif /* __SRV_DSSETUP__ */