summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-27 11:09:05 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-25 20:55:06 +0200
commit463b308f16733b5a0bd896c46347d39064cee170 (patch)
tree7880a96961d639c6de21f3225e6f56fade312a0c /source3/smbd/proto.h
parentef408e5068255449eda9b4fc5c483713e91e560d (diff)
downloadsamba-463b308f16733b5a0bd896c46347d39064cee170.tar.gz
samba-463b308f16733b5a0bd896c46347d39064cee170.tar.bz2
samba-463b308f16733b5a0bd896c46347d39064cee170.zip
s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2
The removes the protocol specific smbd_smb2_session and smbd_smb2_tcon. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 8196e69634..f774a3bf8c 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -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);