s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2
[kai/samba-autobuild/.git] / source3 / smbd / proto.h
index 8196e6963433c64a287338a90ef9c67518f50dca..f774a3bf8ccf715c086e2650b44b71fc4d383d3d 100644 (file)
@@ -988,9 +988,10 @@ bool set_current_service(connection_struct *conn, uint16 flags, bool do_chdir);
 void load_registry_shares(void);
 int add_home_service(const char *service, const char *username, const char *homedir);
 int find_service(TALLOC_CTX *ctx, const char *service, char **p_service_out);
-struct smbd_smb2_tcon;
+struct smbXsrv_tcon0;
 connection_struct *make_connection_smb2(struct smbd_server_connection *sconn,
-                                       struct smbd_smb2_tcon *tcon,
+                                       struct smbXsrv_tcon0 *tcon,
+                                       int snum,
                                        struct user_struct *vuser,
                                        const char *pdev,
                                        NTSTATUS *pstatus);