mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
cf0442bff1
This should use SHA1 as modern CPUs have SHA NI instruction support. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
26 lines
900 B
C
26 lines
900 B
C
/*
|
|
* Unix SMB/Netbios implementation.
|
|
*
|
|
* Copyright (c) 2019 Andreas Schneider <asn@samba.org>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef _HASH_INODE_H
|
|
#define _HASH_INODE_H
|
|
|
|
SMB_INO_T hash_inode(const SMB_STRUCT_STAT *sbuf, const char *sname);
|
|
|
|
#endif /* _HASH_INODE_H */
|