summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-12 12:20:08 +0200
committerVolker Lendecke <vl@samba.org>2008-07-26 13:20:10 +0200
commit1ee37bc9c3d3a4aefc50efc90db42b81f51bcd03 (patch)
treec1568b0660f6aa8a8c20734b8ac850fa0b33a135 /source3/include
parentbdf1747c98e0622dd4b91fa1f45551d0c5c3ca4c (diff)
downloadsamba-1ee37bc9c3d3a4aefc50efc90db42b81f51bcd03.tar.gz
samba-1ee37bc9c3d3a4aefc50efc90db42b81f51bcd03.tar.bz2
samba-1ee37bc9c3d3a4aefc50efc90db42b81f51bcd03.zip
Refactor make_internal_rpc_pipe_p: connection_struct is not needed
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h7
-rw-r--r--source3/include/proto.h4
2 files changed, 9 insertions, 2 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 23bbe9aba2..484f173afe 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -318,8 +318,11 @@ typedef struct smb_np_struct {
* returns: state information representing the connection.
* is stored in np_state, above.
*/
- void * (*namedpipe_create)(const char *pipe_name,
- connection_struct *conn, uint16 vuid);
+ struct pipes_struct *(*namedpipe_create)(
+ const char *pipe_name,
+ const char *client_address,
+ struct auth_serversupplied_info *server_info,
+ uint16_t vuid);
/* call to perform a write namedpipe operation
*/
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 47986ee5ef..6e503efadd 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -8845,6 +8845,10 @@ bool close_rpc_pipe_hnd(smb_np_struct *p);
void pipe_close_conn(connection_struct *conn);
smb_np_struct *get_rpc_pipe_p(uint16 pnum);
smb_np_struct *get_rpc_pipe(int pnum);
+struct pipes_struct *make_internal_rpc_pipe_p(const char *pipe_name,
+ const char *client_address,
+ struct auth_serversupplied_info *server_info,
+ uint16_t vuid);
/* The following definitions come from rpc_server/srv_samr_nt.c */