mirror of
				https://github.com/samba-team/samba.git
				synced 2025-11-04 00:23:49 +03:00 
			
		
		
		
	s3:rpc_server: Add a function to initialize the dcerpc_ncacn_conn struct
Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
		
				
					committed by
					
						
						Stefan Metzmacher
					
				
			
			
				
	
			
			
			
						parent
						
							52c3bebd23
						
					
				
				
					commit
					2e938e22ac
				
			@@ -96,6 +96,16 @@ struct named_pipe_client *named_pipe_client_init(TALLOC_CTX *mem_ctx,
 | 
			
		||||
						 uint64_t allocation_size,
 | 
			
		||||
						 void *private_data);
 | 
			
		||||
 | 
			
		||||
NTSTATUS dcerpc_ncacn_conn_init(TALLOC_CTX *mem_ctx,
 | 
			
		||||
				struct tevent_context *ev_ctx,
 | 
			
		||||
				struct messaging_context *msg_ctx,
 | 
			
		||||
				enum dcerpc_transport_t transport,
 | 
			
		||||
				const char *name,
 | 
			
		||||
				dcerpc_ncacn_disconnect_fn disconnect_fn,
 | 
			
		||||
				dcerpc_ncacn_termination_fn term_fn,
 | 
			
		||||
				void *termination_data,
 | 
			
		||||
				struct dcerpc_ncacn_conn **out);
 | 
			
		||||
 | 
			
		||||
int make_server_pipes_struct(TALLOC_CTX *mem_ctx,
 | 
			
		||||
			     struct messaging_context *msg_ctx,
 | 
			
		||||
			     const char *pipe_name,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user