2 Unix SMB/CIFS implementation.
4 server side dcerpc defines
6 Copyright (C) Andrew Tridgell 2003-2005
7 Copyright (C) Stefan (metze) Metzmacher 2004-2005
8 Copyright (C) Samuel Cabrero <scabrero@samba.org> 2019
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
24 #ifndef _LIBRPC_RPC_DCESRV_CORE_H_
25 #define _LIBRPC_RPC_DCESRV_CORE_H_
27 #include "librpc/rpc/rpc_common.h"
28 #include "librpc/ndr/libndr.h"
29 #include "librpc/gen_ndr/security.h"
31 /* modules can use the following to determine if the interface has changed
32 * please increment the version number after each interface change
33 * with a comment and maybe update struct dcesrv_critical_sizes.
35 /* version 1 - initial version - metze */
36 #define DCERPC_MODULE_VERSION 1
38 struct dcesrv_connection
;
39 struct dcesrv_call_state
;
41 struct dcesrv_connection_context
;
42 struct dcesrv_iface_state
;
43 struct cli_credentials
;
45 struct dcesrv_interface
{
47 struct ndr_syntax_id syntax_id
;
49 /* this function is called when the client binds to this interface */
50 NTSTATUS (*bind
)(struct dcesrv_connection_context
*, const struct dcesrv_interface
*);
52 /* this function is called when the client disconnects the endpoint */
53 void (*unbind
)(struct dcesrv_connection_context
*, const struct dcesrv_interface
*);
55 /* the ndr_pull function for the chosen interface.
57 NTSTATUS (*ndr_pull
)(struct dcesrv_call_state
*, TALLOC_CTX
*, struct ndr_pull
*, void **);
59 /* the dispatch function for the chosen interface.
61 NTSTATUS (*dispatch
)(struct dcesrv_call_state
*, TALLOC_CTX
*, void *);
63 /* the reply function for the chosen interface.
65 NTSTATUS (*reply
)(struct dcesrv_call_state
*, TALLOC_CTX
*, void *);
67 /* the ndr_push function for the chosen interface.
69 NTSTATUS (*ndr_push
)(struct dcesrv_call_state
*, TALLOC_CTX
*, struct ndr_push
*, const void *);
71 /* the local dispatch function for the chosen interface.
73 NTSTATUS (*local
)(struct dcesrv_call_state
*, TALLOC_CTX
*, void *);
75 /* for any private use by the interface code */
76 const void *private_data
;
81 #define DCESRV_INTERFACE_FLAGS_HANDLES_NOT_USED 0x00000001
83 enum dcesrv_call_list
{
85 DCESRV_LIST_CALL_LIST
,
86 DCESRV_LIST_FRAGMENTED_CALL_LIST
,
87 DCESRV_LIST_PENDING_CALL_LIST
90 struct data_blob_list_item
{
91 struct data_blob_list_item
*prev
,*next
;
95 /* the state of an ongoing dcerpc call */
96 struct dcesrv_call_state
{
97 struct dcesrv_call_state
*next
, *prev
;
98 struct dcesrv_auth
*auth_state
;
99 struct dcesrv_connection
*conn
;
100 struct dcesrv_connection_context
*context
;
101 struct ncacn_packet pkt
;
104 * Used during async bind/alter_context.
106 struct ncacn_packet ack_pkt
;
109 which list this request is in, if any
111 enum dcesrv_call_list list
;
113 /* the backend can mark the call
114 * with DCESRV_CALL_STATE_FLAG_ASYNC
115 * that will cause the frontend to not touch r->out
118 * this is only allowed to the backend when DCESRV_CALL_STATE_FLAG_MAY_ASYNC
119 * is already set by the frontend
121 * the backend then needs to call dcesrv_reply() when it's
122 * ready to send the reply
124 #define DCESRV_CALL_STATE_FLAG_ASYNC (1<<0)
125 #define DCESRV_CALL_STATE_FLAG_MAY_ASYNC (1<<1)
126 #define DCESRV_CALL_STATE_FLAG_MULTIPLEXED (1<<3)
127 #define DCESRV_CALL_STATE_FLAG_PROCESS_PENDING_CALL (1<<4)
128 #define DCESRV_CALL_STATE_FLAG_WINBIND_OFF (1 << 5)
129 uint32_t state_flags
;
131 /* the time the request arrived in the server */
134 /* the backend can use this event context for async replies */
135 struct tevent_context
*event_ctx
;
137 /* this is the pointer to the allocated function struct */
141 * that's the ndr pull context used in dcesrv_request()
142 * needed by dcesrv_reply() to carry over information
143 * for full pointer support.
145 struct ndr_pull
*ndr_pull
;
149 struct data_blob_list_item
*replies
;
151 /* this is used by the boilerplate code to generate DCERPC faults */
154 /* the reason why we terminate the connection after sending a response */
155 const char *terminate_reason
;
157 /* temporary auth_info fields */
158 struct dcerpc_auth in_auth_info
;
159 struct dcerpc_auth _out_auth_info
;
160 struct dcerpc_auth
*out_auth_info
;
163 * Optional subreq for pending calls,
164 * will be used to call tevent_req_cancel()
165 * if the connection terminates,
166 * we got an ORPHANED PDU
167 * or got a CO_CANCEL PDU
172 struct tevent_req
*subreq
;
178 * The various handles that are used in the RPC servers should be
179 * created and fetch using the dcesrv_handle_* functions.
182 * dcesrv_handle_create(struct dcesrv_call_state \*, uint8 handle_type)
183 * to obtain a new handle of the specified type. Handle types are
184 * unique within each pipe.
186 * The handle can later be fetched again using:
188 * struct dcesrv_handle *dcesrv_handle_lookup(
189 * struct dcesrv_call_state *dce_call,
190 * struct policy_handle *p,
195 * TALLOC_FREE(struct dcesrv_handle *).
197 * User data should be stored in the 'data' member of the dcesrv_handle
201 #define DCESRV_HANDLE_ANY 255
203 /* a dcerpc handle in internal format */
204 struct dcesrv_handle
{
205 struct dcesrv_handle
*next
, *prev
;
206 struct dcesrv_assoc_group
*assoc_group
;
207 struct policy_handle wire_handle
;
209 enum dcerpc_AuthLevel min_auth_level
;
210 const struct dcesrv_interface
*iface
;
214 /* hold the authentication state information */
216 struct dcesrv_auth
*prev
, *next
;
217 enum dcerpc_AuthType auth_type
;
218 enum dcerpc_AuthLevel auth_level
;
219 uint32_t auth_context_id
;
220 struct gensec_security
*gensec_security
;
221 struct auth_session_info
*session_info
;
222 NTSTATUS (*session_key_fn
)(struct dcesrv_auth
*, DATA_BLOB
*session_key
);
229 struct dcesrv_connection_context
{
230 struct dcesrv_connection_context
*next
, *prev
;
233 /* the connection this is on */
234 struct dcesrv_connection
*conn
;
236 /* the ndr function table for the chosen interface */
237 const struct dcesrv_interface
*iface
;
240 * the minimum required auth level for this interface
242 enum dcerpc_AuthLevel min_auth_level
;
245 /* the negotiated transfer syntax */
246 struct ndr_syntax_id transfer_syntax
;
251 /* the state associated with a dcerpc server connection */
252 struct dcesrv_connection
{
253 /* for the broken_connections DLIST */
254 struct dcesrv_connection
*prev
, *next
;
256 /* the top level context for this server */
257 struct dcesrv_context
*dce_ctx
;
259 /* the endpoint that was opened */
260 const struct dcesrv_endpoint
*endpoint
;
262 /* a list of established context_ids */
263 struct dcesrv_connection_context
*contexts
;
265 /* the state of the current incoming call fragments */
266 struct dcesrv_call_state
*incoming_fragmented_call_list
;
268 /* the state of the async pending calls */
269 struct dcesrv_call_state
*pending_call_list
;
271 /* the state of the current outgoing calls */
272 struct dcesrv_call_state
*call_list
;
274 /* the maximum size the client wants to receive */
275 uint16_t transport_max_recv_frag
;
276 uint16_t max_recv_frag
;
277 uint16_t max_xmit_frag
;
279 DATA_BLOB partial_input
;
281 /* the event_context that will be used for this connection */
282 struct tevent_context
*event_ctx
;
284 /* is this connection pending termination? If so, why? */
285 const char *terminate
;
287 const char *packet_log_dir
;
289 /* this is the default state_flags for dcesrv_call_state structs */
290 uint32_t state_flags
;
294 void (*report_output_data
)(struct dcesrv_connection
*);
295 void (*terminate_connection
)(struct dcesrv_connection
*,
299 struct tstream_context
*stream
;
300 struct tevent_queue
*send_queue
;
302 const struct tsocket_address
*local_address
;
303 const struct tsocket_address
*remote_address
;
305 /* the current authentication state */
306 struct dcesrv_auth
*default_auth_state
;
307 size_t max_auth_states
;
308 struct dcesrv_auth
*auth_states
;
309 bool got_explicit_auth_level_non_connect
;
310 bool got_explicit_auth_level_connect
;
311 struct dcesrv_auth
*default_auth_level_connect
;
312 bool client_hdr_signing
;
313 bool support_hdr_signing
;
314 bool negotiated_hdr_signing
;
317 * remember which pdu types are allowed
322 /* the association group the connection belongs to */
323 struct dcesrv_assoc_group
*assoc_group
;
325 /* The maximum total payload of reassembled request pdus */
326 size_t max_total_request_size
;
329 * Our preferred transfer syntax.
331 const struct ndr_syntax_id
*preferred_transfer
;
334 * This is used to block the connection during
335 * pending authentication.
337 struct tevent_req
*(*wait_send
)(TALLOC_CTX
*mem_ctx
,
338 struct tevent_context
*ev
,
340 NTSTATUS (*wait_recv
)(struct tevent_req
*req
);
345 struct dcesrv_endpoint_server
{
346 /* this is the name of the endpoint server */
349 /* true if the endpoint server has been initialized */
352 /* this function should register endpoints and some other setup stuff,
353 * it is called when the dcesrv_context gets initialized.
355 NTSTATUS (*init_server
)(struct dcesrv_context
*, const struct dcesrv_endpoint_server
*);
357 /* this function should cleanup endpoint server state and unregister
358 * the endpoint server from dcesrv_context */
359 NTSTATUS (*shutdown_server
)(struct dcesrv_context
*, const struct dcesrv_endpoint_server
*);
361 /* this function can be used by other endpoint servers to
362 * ask for a dcesrv_interface implementation
363 * - iface must be reference to an already existing struct !
365 bool (*interface_by_uuid
)(struct dcesrv_interface
*iface
, const struct GUID
*, uint32_t);
367 /* this function can be used by other endpoint servers to
368 * ask for a dcesrv_interface implementation
369 * - iface must be reference to an already existing struct !
371 bool (*interface_by_name
)(struct dcesrv_interface
*iface
, const char *);
375 /* one association groups */
376 struct dcesrv_assoc_group
{
380 /* The transport this is valid on */
381 enum dcerpc_transport_t transport
;
383 /* list of handles in this association group */
384 struct dcesrv_handle
*handles
;
387 * list of iface states per assoc/conn
389 struct dcesrv_iface_state
*iface_states
;
392 struct dcesrv_context
*dce_ctx
;
394 /* the negotiated bind time features */
395 uint16_t bind_time_features
;
398 struct dcesrv_context_callbacks
{
400 void (*successful_authz
)(
401 struct dcesrv_call_state
*call
, void *private_data
);
405 NTSTATUS (*gensec_prepare
)(
407 struct dcesrv_call_state
*call
,
408 struct gensec_security
**out
,
411 void (*become_root
)(void);
412 void (*unbecome_root
)(void);
416 struct dcesrv_call_state
*call
, void *private_data
);
421 /* server-wide context information for the dcerpc server */
422 struct dcesrv_context
{
424 * The euid at startup time.
426 * This is required for DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM
430 /* the list of endpoints that have registered
431 * by the configured endpoint servers
433 struct dcesrv_endpoint
{
434 struct dcesrv_endpoint
*next
, *prev
;
435 /* the type and location of the endpoint */
436 struct dcerpc_binding
*ep_description
;
437 /* the secondary endpoint description for the BIND_ACK */
438 struct dcerpc_binding
*ep_2nd_description
;
439 /* the security descriptor for smb named pipes */
440 struct security_descriptor
*sd
;
441 /* the list of interfaces available on this endpoint */
442 struct dcesrv_if_list
{
443 struct dcesrv_if_list
*next
, *prev
;
444 struct dcesrv_interface
*iface
;
448 * Should this service be run in a single process (so far only
449 * NETLOGON is not run in a single process)
451 bool use_single_process
;
455 * registered auth_type/principals
456 * for dcesrv_mgmt_inq_princ_name()
458 struct dcesrv_ctx_principal
{
459 struct dcesrv_ctx_principal
*next
, *prev
;
460 enum dcerpc_AuthType auth_type
;
461 const char *principal_name
;
464 /* loadparm context to use for this connection */
465 struct loadparm_context
*lp_ctx
;
467 struct idr_context
*assoc_groups_idr
;
468 uint32_t assoc_groups_num
;
470 struct dcesrv_connection
*broken_connections
;
473 * Our preferred transfer syntax.
475 const struct ndr_syntax_id
*preferred_transfer
;
477 struct dcesrv_context_callbacks
*callbacks
;
480 /* this structure is used by modules to determine the size of some critical types */
481 struct dcesrv_critical_sizes
{
482 int interface_version
;
483 int sizeof_dcesrv_context
;
484 int sizeof_dcesrv_endpoint
;
485 int sizeof_dcesrv_endpoint_server
;
486 int sizeof_dcesrv_interface
;
487 int sizeof_dcesrv_if_list
;
488 int sizeof_dcesrv_connection
;
489 int sizeof_dcesrv_call_state
;
490 int sizeof_dcesrv_auth
;
491 int sizeof_dcesrv_handle
;
494 NTSTATUS
dcesrv_auth_type_principal_register(struct dcesrv_context
*dce_ctx
,
495 enum dcerpc_AuthType auth_type
,
496 const char *principal_name
);
497 const char *dcesrv_auth_type_principal_find(struct dcesrv_context
*dce_ctx
,
498 enum dcerpc_AuthType auth_type
);
499 NTSTATUS
dcesrv_register_default_auth_types(struct dcesrv_context
*dce_ctx
,
500 const char *principal
);
501 NTSTATUS
dcesrv_register_default_auth_types_machine_principal(struct dcesrv_context
*dce_ctx
);
502 NTSTATUS
dcesrv_interface_register(struct dcesrv_context
*dce_ctx
,
504 const char *ncacn_np_secondary_endpoint
,
505 const struct dcesrv_interface
*iface
,
506 const struct security_descriptor
*sd
);
507 NTSTATUS
dcesrv_interface_register_b(struct dcesrv_context
*dce_ctx
,
508 struct dcerpc_binding
*binding
,
509 struct dcerpc_binding
*binding2
,
510 const struct dcesrv_interface
*iface
,
511 const struct security_descriptor
*sd
);
512 NTSTATUS
dcerpc_register_ep_server(const struct dcesrv_endpoint_server
*ep_server
);
513 NTSTATUS
dcesrv_init_ep_servers(struct dcesrv_context
*dce_ctx
,
514 const char **ep_servers
);
515 NTSTATUS
dcesrv_init_registered_ep_servers(struct dcesrv_context
*dce_ctx
);
516 NTSTATUS
dcesrv_shutdown_registered_ep_servers(struct dcesrv_context
*dce_ctx
);
517 NTSTATUS
dcesrv_init_ep_server(struct dcesrv_context
*dce_ctx
,
518 const char *ep_server_name
);
519 NTSTATUS
dcesrv_shutdown_ep_server(struct dcesrv_context
*dce_ctx
,
521 const struct dcesrv_endpoint_server
*dcesrv_ep_server_byname(const char *name
);
523 NTSTATUS
dcesrv_init_context(TALLOC_CTX
*mem_ctx
,
524 struct loadparm_context
*lp_ctx
,
525 struct dcesrv_context_callbacks
*cb
,
526 struct dcesrv_context
**_dce_ctx
);
527 void dcesrv_context_set_callbacks(
528 struct dcesrv_context
*dce_ctx
,
529 struct dcesrv_context_callbacks
*cb
);
532 * Use dcesrv_async_reply() in async code
534 NTSTATUS
dcesrv_reply(struct dcesrv_call_state
*call
);
535 void _dcesrv_async_reply(struct dcesrv_call_state
*call
,
537 const char *location
);
538 #define dcesrv_async_reply(__call) \
539 _dcesrv_async_reply(__call, __func__, __location__)
541 struct dcesrv_handle
*dcesrv_handle_create(struct dcesrv_call_state
*call
,
542 uint8_t handle_type
);
544 struct dcesrv_handle
*dcesrv_handle_lookup(struct dcesrv_call_state
*call
,
545 const struct policy_handle
*p
,
546 uint8_t handle_type
);
548 const struct tsocket_address
*dcesrv_connection_get_local_address(struct dcesrv_connection
*conn
);
549 const struct tsocket_address
*dcesrv_connection_get_remote_address(struct dcesrv_connection
*conn
);
552 * Fetch the authentication session key if available.
554 * This is the key generated by a gensec authentication.
556 NTSTATUS
dcesrv_auth_session_key(struct dcesrv_call_state
*call
,
557 DATA_BLOB
*session_key
);
560 * Fetch the transport session key if available.
561 * Typically this is the SMB session key
562 * or a fixed key for local transports.
564 * The key is always truncated to 16 bytes.
566 NTSTATUS
dcesrv_transport_session_key(struct dcesrv_call_state
*call
,
567 DATA_BLOB
*session_key
);
569 /* a useful macro for generating a RPC fault in the backend code */
570 #define DCESRV_FAULT(code) do { \
571 dce_call->fault_code = code; \
572 return r->out.result; \
575 /* a useful macro for generating a RPC fault in the backend code */
576 #define DCESRV_FAULT_VOID(code) do { \
577 dce_call->fault_code = code; \
581 #define DCESRV_NOT_USED_ON_WIRE(__opname) \
582 static void dcesrv_## __opname(struct dcesrv_call_state *dce_call,\
583 TALLOC_CTX *mem_ctx, \
584 struct __opname *r) \
586 DCESRV_FAULT_VOID(DCERPC_FAULT_OP_RNG_ERROR); \
589 /* a useful macro for checking the validity of a dcerpc policy handle
590 and giving the right fault code if invalid */
591 #define DCESRV_CHECK_HANDLE(h) do {if (!(h)) DCESRV_FAULT(DCERPC_FAULT_CONTEXT_MISMATCH); } while (0)
593 /* this checks for a valid policy handle, and gives a fault if an
594 invalid handle or retval if the handle is of the
596 #define DCESRV_PULL_HANDLE_RETVAL(h, inhandle, t, retval) do { \
597 (h) = dcesrv_handle_lookup(dce_call, (inhandle), DCESRV_HANDLE_ANY); \
598 DCESRV_CHECK_HANDLE(h); \
599 if ((t) != DCESRV_HANDLE_ANY && (h)->wire_handle.handle_type != (t)) { \
604 /* this checks for a valid policy handle and gives a dcerpc fault
605 if its the wrong type of handle */
606 #define DCESRV_PULL_HANDLE_FAULT(h, inhandle, t) do { \
607 (h) = dcesrv_handle_lookup(dce_call, (inhandle), t); \
608 DCESRV_CHECK_HANDLE(h); \
611 #define DCESRV_PULL_HANDLE(h, inhandle, t) DCESRV_PULL_HANDLE_RETVAL(h, inhandle, t, NT_STATUS_INVALID_HANDLE)
612 #define DCESRV_PULL_HANDLE_WERR(h, inhandle, t) DCESRV_PULL_HANDLE_RETVAL(h, inhandle, t, WERR_INVALID_HANDLE)
615 * retrieve credentials from a dce_call
617 _PUBLIC_
struct cli_credentials
*dcesrv_call_credentials(struct dcesrv_call_state
*dce_call
);
620 * returns true if this is an authenticated call
622 _PUBLIC_
bool dcesrv_call_authenticated(struct dcesrv_call_state
*dce_call
);
625 * retrieve account_name for a dce_call
627 _PUBLIC_
const char *dcesrv_call_account_name(struct dcesrv_call_state
*dce_call
);
630 * retrieve session_info from a dce_call
632 _PUBLIC_
struct auth_session_info
*dcesrv_call_session_info(struct dcesrv_call_state
*dce_call
);
635 * retrieve auth type/level from a dce_call
637 _PUBLIC_
void dcesrv_call_auth_info(struct dcesrv_call_state
*dce_call
,
638 enum dcerpc_AuthType
*auth_type
,
639 enum dcerpc_AuthLevel
*auth_level
);
641 _PUBLIC_ NTSTATUS
dcesrv_interface_bind_require_integrity(struct dcesrv_connection_context
*context
,
642 const struct dcesrv_interface
*iface
);
643 _PUBLIC_ NTSTATUS
dcesrv_interface_bind_require_privacy(struct dcesrv_connection_context
*context
,
644 const struct dcesrv_interface
*iface
);
645 _PUBLIC_ NTSTATUS
dcesrv_interface_bind_reject_connect(struct dcesrv_connection_context
*context
,
646 const struct dcesrv_interface
*iface
);
647 _PUBLIC_ NTSTATUS
dcesrv_interface_bind_allow_connect(struct dcesrv_connection_context
*context
,
648 const struct dcesrv_interface
*iface
);
650 _PUBLIC_
void dcesrv_assoc_group_common_destructor(struct dcesrv_assoc_group
*assoc_group
);
652 _PUBLIC_ NTSTATUS
_dcesrv_iface_state_store_assoc(
653 struct dcesrv_call_state
*call
,
656 const char *location
);
657 #define dcesrv_iface_state_store_assoc(call, magic, ptr) \
658 _dcesrv_iface_state_store_assoc((call), (magic), (ptr), \
660 _PUBLIC_
void *_dcesrv_iface_state_find_assoc(
661 struct dcesrv_call_state
*call
,
663 #define dcesrv_iface_state_find_assoc(call, magic, _type) \
665 _dcesrv_iface_state_find_assoc((call), (magic)), \
668 _PUBLIC_ NTSTATUS
_dcesrv_iface_state_store_conn(
669 struct dcesrv_call_state
*call
,
672 const char *location
);
673 #define dcesrv_iface_state_store_conn(call, magic, ptr) \
674 _dcesrv_iface_state_store_conn((call), (magic), (ptr), \
676 _PUBLIC_
void *_dcesrv_iface_state_find_conn(
677 struct dcesrv_call_state
*call
,
679 #define dcesrv_iface_state_find_conn(call, magic, _type) \
681 _dcesrv_iface_state_find_conn((call), (magic)), \
684 _PUBLIC_
void dcesrv_cleanup_broken_connections(struct dcesrv_context
*dce_ctx
);
686 _PUBLIC_ NTSTATUS
dcesrv_endpoint_connect(struct dcesrv_context
*dce_ctx
,
688 const struct dcesrv_endpoint
*ep
,
689 struct auth_session_info
*session_info
,
690 struct tevent_context
*event_ctx
,
691 uint32_t state_flags
,
692 struct dcesrv_connection
**_p
);
693 _PUBLIC_ NTSTATUS
dcesrv_find_endpoint(struct dcesrv_context
*dce_ctx
,
694 const struct dcerpc_binding
*ep_description
,
695 struct dcesrv_endpoint
**_out
);
697 _PUBLIC_
void dcesrv_terminate_connection(struct dcesrv_connection
*dce_conn
,
699 _PUBLIC_
void dcesrv_sock_report_output_data(struct dcesrv_connection
*dce_conn
);
701 _PUBLIC_ NTSTATUS
dcesrv_connection_loop_start(struct dcesrv_connection
*conn
);
703 _PUBLIC_
void dcesrv_loop_next_packet(
704 struct dcesrv_connection
*dce_conn
,
705 struct ncacn_packet
*pkt
,
708 _PUBLIC_ NTSTATUS
dcesrv_call_dispatch_local(struct dcesrv_call_state
*call
);
710 _PUBLIC_
const struct dcesrv_interface
*find_interface_by_syntax_id(
711 const struct dcesrv_endpoint
*endpoint
,
712 const struct ndr_syntax_id
*interface
);
714 void _dcesrv_save_ndr_fuzz_seed(DATA_BLOB call_blob
,
715 struct dcesrv_call_state
*call
,
716 ndr_flags_type flags
);
719 #define dcesrv_save_ndr_fuzz_seed(stub, call, flags) \
720 _dcesrv_save_ndr_fuzz_seed(stub, call, flags)
722 #define dcesrv_save_ndr_fuzz_seed(stub, call, flags) \
727 #endif /* _LIBRPC_RPC_DCESRV_CORE_H_ */