s3:dbwrap_ctdb: start rewrite of transactions using the global lock (g_lock)
[Samba.git] / librpc / gen_ndr / cli_initshutdown.h
blob1162b8aa728c30f3f8900b9c2542f1e31ff85920
1 #include "../librpc/gen_ndr/ndr_initshutdown.h"
2 #ifndef __CLI_INITSHUTDOWN__
3 #define __CLI_INITSHUTDOWN__
4 struct tevent_req *rpccli_initshutdown_Init_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 uint16_t *_hostname /* [in] [unique] */,
8 struct lsa_StringLarge *_message /* [in] [unique] */,
9 uint32_t _timeout /* [in] */,
10 uint8_t _force_apps /* [in] */,
11 uint8_t _do_reboot /* [in] */);
12 NTSTATUS rpccli_initshutdown_Init_recv(struct tevent_req *req,
13 TALLOC_CTX *mem_ctx,
14 WERROR *result);
15 NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli,
16 TALLOC_CTX *mem_ctx,
17 uint16_t *hostname /* [in] [unique] */,
18 struct lsa_StringLarge *message /* [in] [unique] */,
19 uint32_t timeout /* [in] */,
20 uint8_t force_apps /* [in] */,
21 uint8_t do_reboot /* [in] */,
22 WERROR *werror);
23 struct tevent_req *rpccli_initshutdown_Abort_send(TALLOC_CTX *mem_ctx,
24 struct tevent_context *ev,
25 struct rpc_pipe_client *cli,
26 uint16_t *_server /* [in] [unique] */);
27 NTSTATUS rpccli_initshutdown_Abort_recv(struct tevent_req *req,
28 TALLOC_CTX *mem_ctx,
29 WERROR *result);
30 NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli,
31 TALLOC_CTX *mem_ctx,
32 uint16_t *server /* [in] [unique] */,
33 WERROR *werror);
34 struct tevent_req *rpccli_initshutdown_InitEx_send(TALLOC_CTX *mem_ctx,
35 struct tevent_context *ev,
36 struct rpc_pipe_client *cli,
37 uint16_t *_hostname /* [in] [unique] */,
38 struct lsa_StringLarge *_message /* [in] [unique] */,
39 uint32_t _timeout /* [in] */,
40 uint8_t _force_apps /* [in] */,
41 uint8_t _do_reboot /* [in] */,
42 uint32_t _reason /* [in] */);
43 NTSTATUS rpccli_initshutdown_InitEx_recv(struct tevent_req *req,
44 TALLOC_CTX *mem_ctx,
45 WERROR *result);
46 NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli,
47 TALLOC_CTX *mem_ctx,
48 uint16_t *hostname /* [in] [unique] */,
49 struct lsa_StringLarge *message /* [in] [unique] */,
50 uint32_t timeout /* [in] */,
51 uint8_t force_apps /* [in] */,
52 uint8_t do_reboot /* [in] */,
53 uint32_t reason /* [in] */,
54 WERROR *werror);
55 #endif /* __CLI_INITSHUTDOWN__ */