3 #include "bin/default/librpc/gen_ndr/s3compat_trkwks.h"
5 struct _s3_compat_trkwks_Unknown0_state {
6 struct tevent_context *ev;
7 struct dcerpc_call_handle *call;
8 struct trkwks_Unknown0 *r;
11 static struct tevent_req *_s3_compat_trkwks_Unknown0_send(TALLOC_CTX *mem_ctx,
12 struct tevent_context *ev,
13 struct dcerpc_call_handle *call,
14 struct trkwks_Unknown0 *r)
16 struct tevent_req *req
17 struct _s3_compat_trkwks_Unknown0_state *state;
18 struct pipes_struct *p;
20 req = tevent_req_create(mem_ctx, &state,
21 struct _s3_compat_trkwks_Unknown0_state);
29 p = dcerpc_call_handle_get_pipes_struct(call);
31 r->out.result = _trkwks_Unknown0(p, r);
34 NTSTATUS status = dcerpc_fault_to_nt_status(p->fault_state);
35 tevent_req_nterror(status);
36 return tevent_req_post(req, ev);
40 return tevent_req_post(req, ev);
43 static NTSTATUS _s3_compat_trkwks_Unknown0_recv(struct tevent_req *req)
45 return tevent_req_simple_recv_ntstatus(req);
49 static const struct dcerpc_call_entry_point_fns struct _s3_compat_trkwks_fns[] = {
51 .send_fn = (dcerpc_call_entry_point_send_fn_t)
52 _s3_compat_trkwks_Unknown0_send,
53 .recv_fn = (dcerpc_call_entry_point_recv_fn_t)
54 _s3_compat_trkwks_Unknown0_recv,
62 static const struct dcerpc_call_entry_point_vector _s3_compat_trkwks_epv[] = {
63 .name = "_s3_compat_trkwks",
64 .table = &ndr_table_trkwks,
66 .fns = _s3_compat_trkwks_fns,
69 NTSTATUS dcerpc_server_setup_s3compat_trkwks(struct dcerpc_server *server)
71 return NT_STATUS_NOT_IMPLEMENTED;