mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
5e5d2b2cfa
The statvfs struct isn't guaranteed to be portable across operating
systems. Since libsmbclient isn't actually calling statvfs and just
using the statvfs struct to store similar information, this patch adds
a new portable smbc_statvfs struct. This fixes a few of the failures
in the build farm introduced by:
|
||
---|---|---|
.. | ||
smbwrapper | ||
get_auth_data_fn.h | ||
Makefile | ||
Makefile.internal.in | ||
README | ||
testacl2.c | ||
testacl3.c | ||
testacl.c | ||
testbrowse2.c | ||
testbrowse.c | ||
testchmod.c | ||
testctx.c | ||
testfstatvfs.c | ||
testread.c | ||
testsmbc.c | ||
teststat2.c | ||
teststat3.c | ||
teststat.c | ||
teststatvfs.c | ||
testtruncate.c | ||
testutime.c | ||
testwrite.c | ||
tree.c |
Some simple example programs for libsmbclient ... testsmbc.c is kinda broken as it has many hardcoded bits in it testbrowse.c opens a remote folder and displays its contents teststat.c allows comparing the results of smbc_stat() against a local stat() of the same file. tree.c is an example of how you might do some of these things with GTK+ It needs lots of work but shows you some ways to use libsmbclient. smbwrapper implements the old smbsh/smbwrapper mechanism using libsmbclient, in such a way that it works on Linux Richard Sharpe, 17 May 2001 Derrell Lipman, 30 Mar 2005