Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7ff90706
Commit
7ff90706
authored
Jul 18, 2004
by
Steve French
Committed by
Steve French
Jul 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] remove unneeded, unused prototypes. Suggested by Carl Spalletta
Signed-off-by: Steve French (sfrench@us.ibm.com)
parent
ffa50ea5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
31 deletions
+0
-31
fs/cifs/cifsfs.h
fs/cifs/cifsfs.h
+0
-4
fs/cifs/cifsproto.h
fs/cifs/cifsproto.h
+0
-25
fs/cifs/smbencrypt.c
fs/cifs/smbencrypt.c
+0
-2
No files found.
fs/cifs/cifsfs.h
View file @
7ff90706
...
@@ -32,14 +32,10 @@
...
@@ -32,14 +32,10 @@
#define TRUE 1
#define TRUE 1
#endif
#endif
extern
int
map_cifs_error
(
int
error_class
,
int
error_code
,
int
status_codes_negotiated
);
extern
struct
address_space_operations
cifs_addr_ops
;
extern
struct
address_space_operations
cifs_addr_ops
;
/* Functions related to super block operations */
/* Functions related to super block operations */
extern
struct
super_operations
cifs_super_ops
;
extern
struct
super_operations
cifs_super_ops
;
extern
void
cifs_put_inode
(
struct
inode
*
);
extern
void
cifs_read_inode
(
struct
inode
*
);
extern
void
cifs_read_inode
(
struct
inode
*
);
extern
void
cifs_delete_inode
(
struct
inode
*
);
extern
void
cifs_delete_inode
(
struct
inode
*
);
/* extern void cifs_write_inode(struct inode *); *//* BB not needed yet */
/* extern void cifs_write_inode(struct inode *); *//* BB not needed yet */
...
...
fs/cifs/cifsproto.h
View file @
7ff90706
...
@@ -213,31 +213,6 @@ extern int cifs_verify_signature(const struct smb_hdr *, const char * mac_key,
...
@@ -213,31 +213,6 @@ extern int cifs_verify_signature(const struct smb_hdr *, const char * mac_key,
extern
int
cifs_calculate_mac_key
(
char
*
key
,
const
char
*
rn
,
const
char
*
pass
);
extern
int
cifs_calculate_mac_key
(
char
*
key
,
const
char
*
rn
,
const
char
*
pass
);
extern
void
CalcNTLMv2_partial_mac_key
(
struct
cifsSesInfo
*
,
struct
nls_table
*
);
extern
void
CalcNTLMv2_partial_mac_key
(
struct
cifsSesInfo
*
,
struct
nls_table
*
);
extern
void
CalcNTLMv2_response
(
const
struct
cifsSesInfo
*
,
char
*
);
extern
void
CalcNTLMv2_response
(
const
struct
cifsSesInfo
*
,
char
*
);
extern
int
CIFSBuildServerList
(
int
xid
,
char
*
serverBufferList
,
int
recordlength
,
int
*
entries
,
int
*
totalEntries
,
int
*
topoChangedFlag
);
extern
int
CIFSSMBQueryShares
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
struct
shareInfo
*
shareList
,
int
bufferLen
,
int
*
entries
,
int
*
totalEntries
);
extern
int
CIFSSMBQueryAlias
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
struct
aliasInfo
*
aliasList
,
int
bufferLen
,
int
*
entries
,
int
*
totalEntries
);
extern
int
CIFSSMBAliasInfo
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
char
*
aliasName
,
char
*
serverName
,
char
*
shareName
,
char
*
comment
);
extern
int
CIFSSMBGetShareInfo
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
char
*
share
,
char
*
comment
);
extern
int
CIFSSMBGetUserPerms
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
char
*
userName
,
char
*
searchName
,
int
*
perms
);
extern
int
CIFSSMBSync
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
int
netfid
,
int
pid
);
extern
int
CIFSSMBSeek
(
int
xid
,
struct
cifsTconInfo
*
tcon
,
int
netfid
,
int
pid
,
int
whence
,
unsigned
long
offset
,
long
long
*
newoffset
);
extern
int
CIFSSMBCopy
(
int
xid
,
extern
int
CIFSSMBCopy
(
int
xid
,
struct
cifsTconInfo
*
source_tcon
,
struct
cifsTconInfo
*
source_tcon
,
const
char
*
fromName
,
const
char
*
fromName
,
...
...
fs/cifs/smbencrypt.c
View file @
7ff90706
...
@@ -70,8 +70,6 @@ void SMBOWFencrypt(unsigned char passwd[16], unsigned char *c8,
...
@@ -70,8 +70,6 @@ void SMBOWFencrypt(unsigned char passwd[16], unsigned char *c8,
void
NTLMSSPOWFencrypt
(
unsigned
char
passwd
[
8
],
void
NTLMSSPOWFencrypt
(
unsigned
char
passwd
[
8
],
unsigned
char
*
ntlmchalresp
,
unsigned
char
p24
[
24
]);
unsigned
char
*
ntlmchalresp
,
unsigned
char
p24
[
24
]);
void
SMBNTencrypt
(
unsigned
char
*
passwd
,
unsigned
char
*
c8
,
unsigned
char
*
p24
);
void
SMBNTencrypt
(
unsigned
char
*
passwd
,
unsigned
char
*
c8
,
unsigned
char
*
p24
);
int
decode_pw_buffer
(
char
in_buffer
[
516
],
char
*
new_pwrd
,
int
new_pwrd_size
,
__u32
*
new_pw_len
);
/*
/*
This implements the X/Open SMB password encryption
This implements the X/Open SMB password encryption
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment