mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
smbd: Make get_real_filename_cache_key() public
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
552f9e9d55
commit
ab56379c22
@ -414,8 +414,7 @@ NTSTATUS get_real_filename_at(struct files_struct *dirfsp,
|
||||
* vfs_stat() the last component. This will be taken care of by an
|
||||
* attempt to do a openat_pathref_fsp().
|
||||
*/
|
||||
static bool get_real_filename_cache_key(
|
||||
TALLOC_CTX *mem_ctx,
|
||||
bool get_real_filename_cache_key(TALLOC_CTX *mem_ctx,
|
||||
struct files_struct *dirfsp,
|
||||
const char *name,
|
||||
DATA_BLOB *_key)
|
||||
|
@ -339,6 +339,10 @@ NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp,
|
||||
bool mangled,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
char **found_name);
|
||||
bool get_real_filename_cache_key(TALLOC_CTX *mem_ctx,
|
||||
struct files_struct *dirfsp,
|
||||
const char *name,
|
||||
DATA_BLOB *_key);
|
||||
char *get_original_lcomp(TALLOC_CTX *ctx,
|
||||
connection_struct *conn,
|
||||
const char *filename_in,
|
||||
|
Loading…
Reference in New Issue
Block a user