summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
****************************************************************************/