Displaying 3 results from an estimated 3 matches for "smb_struct_dirent".
2012 Aug 16
1
Samba VFS opendir and readdir
Hi Folks,
I am writing a VFS module, which creates virtual a file system in memory,
not on any physical storage. However, I really don't have any idea on how
to implement the VFS operation opendir and readdir, becuase SMB_STRUCT_DIR
is very hard to manipulate. For example, I can not malloc a SMB_STRUCT_DIR.
Also, there is no any document for SMB_STRUCT_DIR. I don't know how to use
it data
2000 Apr 24
1
Samba 2.0.6 Compilation Warning under Solaris 7
...system.c:
--------------------------------------------------------------------------------
.
.
.
/*******************************************************************
A readdir wrapper that will deal with 64 bit filesizes.
********************************************************************/
SMB_STRUCT_DIRENT *sys_readdir(DIR *dirp)
{
#if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_READDIR64)
return readdir64(dirp);
#else
return readdir(dirp);
#endif
}
.
.
.
--------------------------------------------------------------------------------
>From include file includes.h:...
2008 May 07
0
MBoyle@ttcdas.com - Email found in subject - RE: Files over 4GB not listing properly. Cannot getCIFSworking.
The default smbclient doesn't list the files properly either. I've been
romping through the configure script,
and it turns out that certain flags weren't being properly set in
config.h, due to the fact that samba was
being cross-compiled and the test programs couldn't be run. So far,
I've set dev_t to be a u_quad type, and
enabled 64-bit versions of: dirent, ino, off_t,