1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
samba-mirror/examples/libsmbclient
Derrell Lipman 296a6783fb Replace GetTimeOfDay() with gettimeofday() in example program.
GetTimeOfDay() seems to no longer be exported.  For the smbsh example, just
use the native gettimeofday() for now.
2008-01-16 14:37:40 +00:00
..
smbwrapper Replace GetTimeOfDay() with gettimeofday() in example program. 2008-01-16 14:37:40 +00:00
get_auth_data_fn.h Add a (very!) trivial cache to the example authentication callback. 2008-01-16 14:35:44 +00:00
Makefile Fix compile and linking errors since last this code was tested 2008-01-13 12:07:18 -05:00
README r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
testacl2.c r22914: - Fixes bug 4599. A missing <code>if</code> statement forced subseqeuent 2007-10-10 12:22:07 -05:00
testacl.c Fix smbc_listxattr() and friends (bug #5189) 2008-01-13 17:10:06 -05:00
testbrowse2.c r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500 2007-10-10 11:05:50 -05:00
testbrowse.c r16550: Fix bug 3866. Thanks for the report! 2007-10-10 11:18:59 -05:00
testchmod.c r6151: additional examples/tests for libsmbclient 2007-10-10 10:56:25 -05:00
testread.c r18012: Should fix bug 4018. 2007-10-10 11:39:48 -05:00
testsmbc.c r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00
teststat2.c r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500 2007-10-10 11:05:56 -05:00
teststat.c r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500 2007-10-10 11:05:56 -05:00
testutime.c r7153: add better test facilities to testutime 2007-10-10 10:57:03 -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