mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Export init_stat_ex_from_stat for use in VFS modules.
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 13:23:37 CEST 2011 on sn-devel-104
This commit is contained in:
parent
0c89d624e6
commit
de8eb77e91
@ -429,6 +429,19 @@ int sys_aio_cancel(int fd, SMB_STRUCT_AIOCB *aiocb);
|
||||
int sys_aio_error(const SMB_STRUCT_AIOCB *aiocb);
|
||||
int sys_aio_fsync(int op, SMB_STRUCT_AIOCB *aiocb);
|
||||
int sys_aio_suspend(const SMB_STRUCT_AIOCB * const cblist[], int n, const struct timespec *timeout);
|
||||
|
||||
#if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_OFF64_T) && defined(HAVE_STAT64)
|
||||
struct stat64;
|
||||
void init_stat_ex_from_stat (struct stat_ex *dst,
|
||||
const struct stat64 *src,
|
||||
bool fake_dir_create_times);
|
||||
#else
|
||||
struct stat;
|
||||
void init_stat_ex_from_stat (struct stat_ex *dst,
|
||||
const struct stat *src,
|
||||
bool fake_dir_create_times);
|
||||
#endif
|
||||
|
||||
/* The following definitions come from lib/system_smbd.c */
|
||||
|
||||
bool getgroups_unix_user(TALLOC_CTX *mem_ctx, const char *user,
|
||||
|
@ -509,11 +509,11 @@ void update_stat_ex_create_time(struct stat_ex *dst,
|
||||
}
|
||||
|
||||
#if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_OFF64_T) && defined(HAVE_STAT64)
|
||||
static void init_stat_ex_from_stat (struct stat_ex *dst,
|
||||
void init_stat_ex_from_stat (struct stat_ex *dst,
|
||||
const struct stat64 *src,
|
||||
bool fake_dir_create_times)
|
||||
#else
|
||||
static void init_stat_ex_from_stat (struct stat_ex *dst,
|
||||
void init_stat_ex_from_stat (struct stat_ex *dst,
|
||||
const struct stat *src,
|
||||
bool fake_dir_create_times)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user