TODO destructors ... 2step:smb2 use smbXsrv_tcon: make use of smbXsrv_tcon smb2 remov...
[metze/samba/wip.git] / source3 / smbd / proto.h
index 4300ee3bcaa03d33a79f4ad5af04c9654ab2870b..562527c8cea2c9f3ab18aa4ff212032c68938c0b 100644 (file)
@@ -994,9 +994,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,
                                        user_struct *vuser,
                                        const char *pdev,
                                        NTSTATUS *pstatus);