summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/cli_rap.h
blob: fd87a6b1cef51bffa50cabc8798115b2af1be706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#include "../librpc/gen_ndr/ndr_rap.h"
#ifndef __CLI_RAP__
#define __CLI_RAP__
struct tevent_req *rpccli_rap_NetShareEnum_send(TALLOC_CTX *mem_ctx,
						struct tevent_context *ev,
						struct rpc_pipe_client *cli,
						uint16_t _level /* [in]  */,
						uint16_t _bufsize /* [in]  */,
						uint16_t _status /* [out]  */,
						uint16_t _convert /* [out]  */,
						uint16_t _count /* [out]  */,
						uint16_t _available /* [out]  */,
						union rap_share_info *_info /* [out] [ref,switch_is(level)] */);
NTSTATUS rpccli_rap_NetShareEnum_recv(struct tevent_req *req,
				      TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_rap_NetShareEnum(struct rpc_pipe_client *cli,
				 TALLOC_CTX *mem_ctx,
				 uint16_t level /* [in]  */,
				 uint16_t bufsize /* [in]  */,
				 uint16_t status /* [out]  */,
				 uint16_t convert /* [out]  */,
				 uint16_t count /* [out]  */,
				 uint16_t available /* [out]  */,
				 union rap_share_info *info /* [out] [ref,switch_is(level)] */);
struct tevent_req *rpccli_rap_NetServerEnum2_send(TALLOC_CTX *mem_ctx,
						  struct tevent_context *ev,
						  struct rpc_pipe_client *cli,
						  uint16_t _level /* [in]  */,
						  uint16_t _bufsize /* [in]  */,
						  uint32_t _servertype /* [in]  */,
						  const char *_domain /* [in] [ref,charset(DOS)] */,
						  uint16_t _status /* [out]  */,
						  uint16_t _convert /* [out]  */,
						  uint16_t _count /* [out]  */,
						  uint16_t _available /* [out]  */,
						  union rap_server_info *_info /* [out] [ref,switch_is(level)] */);
NTSTATUS rpccli_rap_NetServerEnum2_recv(struct tevent_req *req,
					TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_rap_NetServerEnum2(struct rpc_pipe_client *cli,
				   TALLOC_CTX *mem_ctx,
				   uint16_t level /* [in]  */,
				   uint16_t bufsize /* [in]  */,
				   uint32_t servertype /* [in]  */,
				   const char *domain /* [in] [ref,charset(DOS)] */,
				   uint16_t status /* [out]  */,
				   uint16_t convert /* [out]  */,
				   uint16_t count /* [out]  */,
				   uint16_t available /* [out]  */,
				   union rap_server_info *info /* [out] [ref,switch_is(level)] */);
struct tevent_req *rpccli_rap_WserverGetInfo_send(TALLOC_CTX *mem_ctx,
						  struct tevent_context *ev,
						  struct rpc_pipe_client *cli,
						  uint16_t _level /* [in]  */,
						  uint16_t _bufsize /* [in]  */,
						  uint16_t _status /* [out]  */,
						  uint16_t _convert /* [out]  */,
						  uint16_t _available /* [out]  */,
						  union rap_server_info _info /* [out] [switch_is(level)] */);
NTSTATUS rpccli_rap_WserverGetInfo_recv(struct tevent_req *req,
					TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_rap_WserverGetInfo(struct rpc_pipe_client *cli,
				   TALLOC_CTX *mem_ctx,
				   uint16_t level /* [in]  */,
				   uint16_t bufsize /* [in]  */,
				   uint16_t status /* [out]  */,
				   uint16_t convert /* [out]  */,
				   uint16_t available /* [out]  */,
				   union rap_server_info info /* [out] [switch_is(level)] */);
struct tevent_req *rpccli_rap_NetPrintQEnum_send(TALLOC_CTX *mem_ctx,
						 struct tevent_context *ev,
						 struct rpc_pipe_client *cli,
						 uint16_t _level /* [in]  */,
						 uint16_t _bufsize /* [in]  */,
						 uint16_t _status /* [out]  */,
						 uint16_t _convert /* [out]  */,
						 uint16_t _count /* [out]  */,
						 uint16_t _available /* [out]  */,
						 union rap_printq_info *_info /* [out] [ref,switch_is(level)] */);
NTSTATUS rpccli_rap_NetPrintQEnum_recv(struct tevent_req *req,
				       TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_rap_NetPrintQEnum(struct rpc_pipe_client *cli,
				  TALLOC_CTX *mem_ctx,
				  uint16_t level /* [in]  */,
				  uint16_t bufsize /* [in]  */,
				  uint16_t status /* [out]  */,
				  uint16_t convert /* [out]  */,
				  uint16_t count /* [out]  */,
				  uint16_t available /* [out]  */,
				  union rap_printq_info *info /* [out] [ref,switch_is(level)] */);
#endif /* __CLI_RAP__ */