1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/examples/libsmbclient
Gary Lockyer 13a2f70a4d Fix clang 9 missing-field-initializer warnings
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
2020-05-08 09:31:31 +00:00
..
get_auth_data_fn.h examples: Fix unchecked result warnings 2015-10-28 16:00:21 +01:00
Makefile vfs: Remove -D_LARGEFILE64_SOURCE from vfs examples Makefile 2012-04-05 02:39:08 +02:00
Makefile.internal.in
README
testacl2.c examples/libsmbclient: avoid some compiler warnings 2014-04-02 09:03:42 +02:00
testacl3.c examples:smbclient:testacl3: fix O3 error unused result from fgets 2016-05-13 00:16:16 +02:00
testacl.c examples: Use C99 initializer for poptOption in testacl 2019-01-28 10:29:12 +01:00
testbrowse2.c examples: Remove all uses of strcpy in examples (except for validchr.c). 2016-03-22 04:38:24 +01:00
testbrowse.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
testchmod.c examples/libsmbclient: Cast mode_t to unsigned int for GNU/Solaris build 2013-03-15 20:22:07 +01:00
testctx.c examples/libsmbclient: avoid some compiler warnings 2014-04-02 09:03:42 +02:00
testfstatvfs.c examples:smbclient:fstatvfs: fix O3 error unused result of fgets 2016-05-13 00:16:17 +02:00
testnotify.c examples:smbclient:notify: fix O3 error unused result from fgets 2016-05-13 00:16:16 +02:00
testread.c examples:smbclient:read: fix O3 error unused result of fgets 2016-05-13 00:16:17 +02:00
testsmbc.c examples: Remove all uses of strcpy in examples (except for validchr.c). 2016-03-22 04:38:24 +01:00
teststat2.c libsmbclient: Fix 32-bit problems 2015-09-07 15:13:08 +02:00
teststat3.c
teststat.c libsmbclient: Fix 32-bit problems 2015-09-07 15:13:08 +02:00
teststatvfs.c examples:smbclient:statvfs: fix O3 error unused result of fgets 2016-05-13 00:16:17 +02:00
testtruncate.c examples: Remove all uses of strcpy in examples (except for validchr.c). 2016-03-22 04:38:24 +01:00
testutime.c Spelling fixes s/wont /won't / 2019-09-01 22:21:27 +00:00
testwrite.c examples:smbclient:write: fix O3 error unused result of fgets 2016-05-13 00:16:17 +02:00
tree.c
wscript_build libsmb: Implement smbc_notify 2015-07-10 09:35:13 +02: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