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
|
/* dcerpc client calls generated by pidl */
#include "includes.h"
NTSTATUS dcerpc_atsvc_JobAdd(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobAdd *r)
{
NTSTATUS status;
if (p->flags & DCERPC_DEBUG_PRINT_IN) {
NDR_PRINT_IN_DEBUG(atsvc_JobAdd, r);
}
status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBADD, mem_ctx,
(ndr_push_fn_t) ndr_push_atsvc_JobAdd,
(ndr_pull_fn_t) ndr_pull_atsvc_JobAdd,
r);
if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
NDR_PRINT_OUT_DEBUG(atsvc_JobAdd, r);
}
if (NT_STATUS_IS_OK(status)) status = r->out.result;
return status;
}
NTSTATUS dcerpc_atsvc_JobDel(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobDel *r)
{
NTSTATUS status;
if (p->flags & DCERPC_DEBUG_PRINT_IN) {
NDR_PRINT_IN_DEBUG(atsvc_JobDel, r);
}
status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBDEL, mem_ctx,
(ndr_push_fn_t) ndr_push_atsvc_JobDel,
(ndr_pull_fn_t) ndr_pull_atsvc_JobDel,
r);
if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
NDR_PRINT_OUT_DEBUG(atsvc_JobDel, r);
}
if (NT_STATUS_IS_OK(status)) status = r->out.result;
return status;
}
NTSTATUS dcerpc_atsvc_JobEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobEnum *r)
{
NTSTATUS status;
if (p->flags & DCERPC_DEBUG_PRINT_IN) {
NDR_PRINT_IN_DEBUG(atsvc_JobEnum, r);
}
status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBENUM, mem_ctx,
(ndr_push_fn_t) ndr_push_atsvc_JobEnum,
(ndr_pull_fn_t) ndr_pull_atsvc_JobEnum,
r);
if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
NDR_PRINT_OUT_DEBUG(atsvc_JobEnum, r);
}
if (NT_STATUS_IS_OK(status)) status = r->out.result;
return status;
}
NTSTATUS dcerpc_atsvc_JobGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobGetInfo *r)
{
NTSTATUS status;
if (p->flags & DCERPC_DEBUG_PRINT_IN) {
NDR_PRINT_IN_DEBUG(atsvc_JobGetInfo, r);
}
status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBGETINFO, mem_ctx,
(ndr_push_fn_t) ndr_push_atsvc_JobGetInfo,
(ndr_pull_fn_t) ndr_pull_atsvc_JobGetInfo,
r);
if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
NDR_PRINT_OUT_DEBUG(atsvc_JobGetInfo, r);
}
if (NT_STATUS_IS_OK(status)) status = r->out.result;
return status;
}
|