1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/librpc/gen_ndr/cli_initshutdown.h

56 lines
2.3 KiB
C
Raw Normal View History

#include "../librpc/gen_ndr/ndr_initshutdown.h"
#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);
NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
uint16_t *hostname /* [in] [unique] */,
2008-10-15 18:13:02 +04:00
struct lsa_StringLarge *message /* [in] [unique] */,
uint32_t timeout /* [in] */,
uint8_t force_apps /* [in] */,
uint8_t do_reboot /* [in] */,
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);
NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
uint16_t *server /* [in] [unique] */,
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);
NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
uint16_t *hostname /* [in] [unique] */,
2008-10-15 18:13:02 +04:00
struct lsa_StringLarge *message /* [in] [unique] */,
uint32_t timeout /* [in] */,
uint8_t force_apps /* [in] */,
uint8_t do_reboot /* [in] */,
uint32_t reason /* [in] */,
WERROR *werror);
#endif /* __CLI_INITSHUTDOWN__ */