Displaying 3 results from an estimated 3 matches for "smb_struct_dir".
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 member.
Can someone give some examples or point me to existing example code?
Many thanks
Eric
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....
2008 May 07
0
MBoyle@ttcdas.com - Email found in subject - RE: Files over 4GB not listing properly. Cannot getCIFSworking.
...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, SMB_STRUCT_DIR, flock,
and SMB_F_SETLKW/GETLKW. Is there
anything i missed?
-----Original Message-----
From: Andrew Bartlett [mailto:abartlet@samba.org]
Sent: Tuesday, May 06, 2008 7:38 PM
To: Matt Boyle
Cc: samba@lists.samba.org
Subject: MBoyle@ttcdas.com - Email found in subject - RE: [Samba] Files
over 4GB...