2008-12-16 18:32:18 +03:00
# include "../librpc/gen_ndr/ndr_initshutdown.h"
2006-09-15 22:32:43 +04:00
# ifndef __CLI_INITSHUTDOWN__
# define __CLI_INITSHUTDOWN__
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_initshutdown_Init_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ,
uint16_t * _hostname /* [in] [unique] */ ,
struct lsa_StringLarge * _message /* [in] [unique] */ ,
uint32_t _timeout /* [in] */ ,
uint8_t _force_apps /* [in] */ ,
uint8_t _do_reboot /* [in] */ ) ;
NTSTATUS rpccli_initshutdown_Init_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_initshutdown_Init ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint16_t * hostname /* [in] [unique] */ ,
2008-10-15 18:13:02 +04:00
struct lsa_StringLarge * message /* [in] [unique] */ ,
2008-03-25 19:52:33 +03:00
uint32_t timeout /* [in] */ ,
uint8_t force_apps /* [in] */ ,
2008-10-15 18:25:06 +04:00
uint8_t do_reboot /* [in] */ ,
2008-01-09 13:59:11 +03:00
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_initshutdown_Abort_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ,
uint16_t * _server /* [in] [unique] */ ) ;
NTSTATUS rpccli_initshutdown_Abort_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_initshutdown_Abort ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint16_t * server /* [in] [unique] */ ,
2008-01-09 13:59:11 +03:00
WERROR * werror ) ;
2009-07-30 20:56:42 +04:00
struct tevent_req * rpccli_initshutdown_InitEx_send ( TALLOC_CTX * mem_ctx ,
struct tevent_context * ev ,
struct rpc_pipe_client * cli ,
uint16_t * _hostname /* [in] [unique] */ ,
struct lsa_StringLarge * _message /* [in] [unique] */ ,
uint32_t _timeout /* [in] */ ,
uint8_t _force_apps /* [in] */ ,
uint8_t _do_reboot /* [in] */ ,
uint32_t _reason /* [in] */ ) ;
NTSTATUS rpccli_initshutdown_InitEx_recv ( struct tevent_req * req ,
TALLOC_CTX * mem_ctx ,
WERROR * result ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_initshutdown_InitEx ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint16_t * hostname /* [in] [unique] */ ,
2008-10-15 18:13:02 +04:00
struct lsa_StringLarge * message /* [in] [unique] */ ,
2008-03-25 19:52:33 +03:00
uint32_t timeout /* [in] */ ,
uint8_t force_apps /* [in] */ ,
2008-10-15 18:25:06 +04:00
uint8_t do_reboot /* [in] */ ,
2008-03-25 19:52:33 +03:00
uint32_t reason /* [in] */ ,
2008-01-09 13:59:11 +03:00
WERROR * werror ) ;
2006-09-15 22:32:43 +04:00
# endif /* __CLI_INITSHUTDOWN__ */