From e7821116d12b94635e7a1709f60809264d397025 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 13 Apr 2011 23:03:56 +0200 Subject: s3-includes: move struct pipe_open_rec to srvsvc rpc server. Guenther --- source3/include/smb.h | 10 ---------- source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 9 +++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) (limited to 'source3') diff --git a/source3/include/smb.h b/source3/include/smb.h index e3560a0524..d927b13a6a 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -696,16 +696,6 @@ struct locking_data { */ }; -/* Used to store pipe open records for NetFileEnum() */ - -struct pipe_open_rec { - struct server_id pid; - uid_t uid; - int pnum; - fstring name; -}; - - #define NT_HASH_LEN 16 #define LM_HASH_LEN 16 diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index df882d729a..e51fee89c6 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -57,6 +57,15 @@ struct sess_file_count { int count; }; +/* Used to store pipe open records for NetFileEnum() */ + +struct pipe_open_rec { + struct server_id pid; + uid_t uid; + int pnum; + fstring name; +}; + /**************************************************************************** Count the entries belonging to a service in the connection db. ****************************************************************************/ -- cgit