2008-12-16 18:32:18 +03:00
# include "../librpc/gen_ndr/ndr_dssetup.h"
2008-01-25 15:04:58 +03:00
# ifndef __CLI_DSSETUP__
# define __CLI_DSSETUP__
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleGetPrimaryDomainInformation_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ,
enum dssetup_DsRoleInfoLevel _level /* [in] */ ,
union dssetup_DsRoleInfo * _info /* [out] [unique,switch_is(level)] */ ) ;
NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
enum dssetup_DsRoleInfoLevel level /* [in] */ ,
union dssetup_DsRoleInfo * info /* [out] [unique,switch_is(level)] */ ,
2008-01-25 15:04:58 +03:00
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleDnsNameToFlatName_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleDcAsDc_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleDcAsDc_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleDcAsDc ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleDcAsReplica_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleDcAsReplica_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleDcAsReplica ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleDemoteDc_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleDemoteDc_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleDemoteDc ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleGetDcOperationProgress_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleGetDcOperationResults_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleCancel_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleCancel_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleCancel ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleServerSaveStateForUpgrade_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleUpgradeDownlevelServer_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ) ;
NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-25 15:04:58 +03:00
NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
WERROR * werror ) ;
# endif /* __CLI_DSSETUP__ */