diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-25 02:54:49 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-07-24 11:25:03 -0400 |
commit | 58c45c58a1cbc8d2e1d07839820bf745fb3e7f41 (patch) | |
tree | 1952b449f17ef2f544fdb88240149c927bd0fc5c /fs/cifs/cifsproto.h | |
parent | 286170aa241819f39d9d1d5d9f2434cfb8519506 (diff) |
CIFS: Move protocol specific session setup/logoff code to ops struct
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 723a3273c6bb..a17be2618473 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -112,8 +112,8 @@ extern void header_assemble(struct smb_hdr *, char /* command */ , | |||
112 | extern int small_smb_init_no_tc(const int smb_cmd, const int wct, | 112 | extern int small_smb_init_no_tc(const int smb_cmd, const int wct, |
113 | struct cifs_ses *ses, | 113 | struct cifs_ses *ses, |
114 | void **request_buf); | 114 | void **request_buf); |
115 | extern int CIFS_SessSetup(unsigned int xid, struct cifs_ses *ses, | 115 | extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses, |
116 | const struct nls_table *nls_cp); | 116 | const struct nls_table *nls_cp); |
117 | extern struct timespec cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601); | 117 | extern struct timespec cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601); |
118 | extern u64 cifs_UnixTimeToNT(struct timespec); | 118 | extern u64 cifs_UnixTimeToNT(struct timespec); |
119 | extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, | 119 | extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, |
@@ -180,8 +180,8 @@ void cifs_proc_clean(void); | |||
180 | 180 | ||
181 | extern int cifs_negotiate_protocol(const unsigned int xid, | 181 | extern int cifs_negotiate_protocol(const unsigned int xid, |
182 | struct cifs_ses *ses); | 182 | struct cifs_ses *ses); |
183 | extern int cifs_setup_session(unsigned int xid, struct cifs_ses *ses, | 183 | extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses, |
184 | struct nls_table *nls_info); | 184 | struct nls_table *nls_info); |
185 | extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses); | 185 | extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses); |
186 | 186 | ||
187 | extern int CIFSTCon(unsigned int xid, struct cifs_ses *ses, | 187 | extern int CIFSTCon(unsigned int xid, struct cifs_ses *ses, |
@@ -391,7 +391,7 @@ extern int CIFSSMBPosixLock(const int xid, struct cifs_tcon *tcon, | |||
391 | const bool waitFlag); | 391 | const bool waitFlag); |
392 | extern int CIFSSMBTDis(const int xid, struct cifs_tcon *tcon); | 392 | extern int CIFSSMBTDis(const int xid, struct cifs_tcon *tcon); |
393 | extern int CIFSSMBEcho(struct TCP_Server_Info *server); | 393 | extern int CIFSSMBEcho(struct TCP_Server_Info *server); |
394 | extern int CIFSSMBLogoff(const int xid, struct cifs_ses *ses); | 394 | extern int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses); |
395 | 395 | ||
396 | extern struct cifs_ses *sesInfoAlloc(void); | 396 | extern struct cifs_ses *sesInfoAlloc(void); |
397 | extern void sesInfoFree(struct cifs_ses *); | 397 | extern void sesInfoFree(struct cifs_ses *); |