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
|
/* dcerpc client calls auto-generated by pidl */
#include "includes.h"
NTSTATUS dcerpc_dfs_Exist(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Exist *r)
{
return dcerpc_ndr_request(p, DCERPC_DFS_EXIST, mem_ctx,
(ndr_push_fn_t) ndr_push_dfs_Exist,
(ndr_pull_fn_t) ndr_pull_dfs_Exist,
r);
}
NTSTATUS dcerpc_dfs_Add(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Add *r)
{
NTSTATUS status;
status = dcerpc_ndr_request(p, DCERPC_DFS_ADD, mem_ctx,
(ndr_push_fn_t) ndr_push_dfs_Add,
(ndr_pull_fn_t) ndr_pull_dfs_Add,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
return r->out.result;
}
NTSTATUS dcerpc_dfs_Remove(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Remove *r)
{
NTSTATUS status;
status = dcerpc_ndr_request(p, DCERPC_DFS_REMOVE, mem_ctx,
(ndr_push_fn_t) ndr_push_dfs_Remove,
(ndr_pull_fn_t) ndr_pull_dfs_Remove,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
return r->out.result;
}
NTSTATUS dcerpc_dfs_UNKNOWN3(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_UNKNOWN3 *r)
{
NTSTATUS status;
status = dcerpc_ndr_request(p, DCERPC_DFS_UNKNOWN3, mem_ctx,
(ndr_push_fn_t) ndr_push_dfs_UNKNOWN3,
(ndr_pull_fn_t) ndr_pull_dfs_UNKNOWN3,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
return r->out.result;
}
NTSTATUS dcerpc_dfs_GetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_GetInfo *r)
{
NTSTATUS status;
status = dcerpc_ndr_request(p, DCERPC_DFS_GETINFO, mem_ctx,
(ndr_push_fn_t) ndr_push_dfs_GetInfo,
(ndr_pull_fn_t) ndr_pull_dfs_GetInfo,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
return r->out.result;
}
NTSTATUS dcerpc_dfs_Enum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Enum *r)
{
NTSTATUS status;
status = dcerpc_ndr_request(p, DCERPC_DFS_ENUM, mem_ctx,
(ndr_push_fn_t) ndr_push_dfs_Enum,
(ndr_pull_fn_t) ndr_pull_dfs_Enum,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
return r->out.result;
}
|