1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/examples/libsmbclient
Tim Prouty 5e5d2b2cfa s3 libsmbclient: Fix fstatvfs to be more portable
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:
ae259575c4

Derrell, please check.
2009-02-13 12:59:30 -08:00
..
smbwrapper examples/libsmbclient: adapt to new samba3 source dir "source3/ 2008-09-17 17:50:18 +02:00
get_auth_data_fn.h Add krb5 support for the testbrowse example. 2008-06-23 15:36:37 -04:00
Makefile [Bug 6069] Add a fstatvfs function for libsmbclient 2009-02-12 10:39:48 -05:00
Makefile.internal.in examples/libsmbclient: fix Makefile after merged build patch changes. 2008-09-17 17:50:18 +02:00
README r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
testacl2.c Remove use of deprecated function 2008-03-02 16:21:48 -05:00
testacl3.c Remove use of deprecated function 2008-03-02 16:21:48 -05:00
testacl.c Working on bug #5475 2008-05-30 10:38:35 -04:00
testbrowse2.c Initial revamp of the libsmbclient interface. 2008-03-01 20:47:22 -05:00
testbrowse.c Add krb5 support for the testbrowse example. 2008-06-23 15:36:37 -04:00
testchmod.c r6151: additional examples/tests for libsmbclient 2007-10-10 10:56:25 -05:00
testctx.c Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX. 2008-08-12 13:35:15 -07:00
testfstatvfs.c s3 libsmbclient: Fix fstatvfs to be more portable 2009-02-13 12:59:30 -08:00
testread.c Modify testread example to loop using same context. 2008-01-16 14:41:11 +00:00
testsmbc.c Continued revamping of libsmbclient. 2008-03-03 18:13:33 -05:00
teststat2.c r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500 2007-10-10 11:05:56 -05:00
teststat3.c Add some additional libsmbclient test programs. 2008-01-17 09:26:36 -05:00
teststat.c r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500 2007-10-10 11:05:56 -05:00
teststatvfs.c s3 libsmbclient: Fix fstatvfs to be more portable 2009-02-13 12:59:30 -08:00
testtruncate.c add a test program for the new ftruncate functionality 2008-02-26 21:46:08 -05:00
testutime.c r7153: add better test facilities to testutime 2007-10-10 10:57:03 -05:00
testwrite.c Add some additional libsmbclient test programs. 2008-01-17 09:26:36 -05:00
tree.c Fix build warning for libsmbclient example. 2008-01-09 10:20:44 +01:00

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