1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples/libsmbclient
Andrew Kroeger 71515ba190 s4: Call va_end() after all va_start()/va_copy() calls.
This corrects the issues reaised in bug #6129, and some others that were not
originally identified.  It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.

Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-06-18 13:49:25 +10:00
..
smbwrapper s4: Call va_end() after all va_start()/va_copy() calls. 2009-06-18 13:49:25 +10: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 Ensure parameter types match format string 2009-03-27 18:03:00 -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 Ensure parameter types match format string 2009-03-27 18:03:00 -04:00
testread.c Modify testread example to loop using same context. 2008-01-16 14:41:11 +00:00
testsmbc.c Ensure parameter types match format string 2009-03-27 18:03:00 -04: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 Ensure parameter types match format string 2009-03-27 18:03:00 -04: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