summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-13 23:03:56 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 00:47:57 +0200
commite7821116d12b94635e7a1709f60809264d397025 (patch)
tree0c9e4fb4908ba4db33aed457d61672364214fe0a /source3
parenta21be2c3c8467211345e00e3a372196b472a6877 (diff)
downloadsamba-e7821116d12b94635e7a1709f60809264d397025.tar.gz
samba-e7821116d12b94635e7a1709f60809264d397025.tar.bz2
samba-e7821116d12b94635e7a1709f60809264d397025.zip
s3-includes: move struct pipe_open_rec to srvsvc rpc server.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h10
-rw-r--r--source3/rpc_server/srvsvc/srv_srvsvc_nt.c9
2 files changed, 9 insertions, 10 deletions
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.
****************************************************************************/