summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-12-14 13:58:25 +0100
committerJeremy Allison <jra@samba.org>2022-12-14 22:54:29 +0000
commitc12518a9b6275602fd654a0dc47903d10843e91e (patch)
treebc53977a804da12f94228686cf8cd9c855a75718 /source3/smbd/proto.h
parentd04db4a576978be49b2c5c6533103cf8cab2f0b6 (diff)
downloadsamba-c12518a9b6275602fd654a0dc47903d10843e91e.tar.gz
smbd: Remove source3/smbd/statcache.c
After I found that nobody calls stat_cache_add() anymore, there was no reason to keep the rest of statcache.c. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index b1ad45667a0..069c069f803 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -1094,25 +1094,6 @@ bool is_share_read_only_for_token(const char *username,
NTSTATUS srvstr_push_fn(const char *base_ptr, uint16_t smb_flags2, void *dest,
const char *src, int dest_len, int flags, size_t *ret_len);
-/* The following definitions come from smbd/statcache.c */
-
-void stat_cache_add( const char *full_orig_name,
- const char *translated_path,
- NTTIME twrp,
- bool case_sensitive);
-bool stat_cache_lookup(connection_struct *conn,
- char **pp_name,
- char **pp_dirpath,
- char **pp_start,
- NTTIME twrp,
- SMB_STRUCT_STAT *pst);
-void smbd_send_stat_cache_delete_message(struct messaging_context *msg_ctx,
- const char *name);
-void send_stat_cache_delete_message(struct messaging_context *msg_ctx,
- const char *name);
-void stat_cache_delete(const char *name);
-bool reset_stat_cache( void );
-
/* The following definitions come from smbd/statvfs.c */
int sys_statvfs(const char *path, struct vfs_statvfs_struct *statbuf);