1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples/libsmbclient
Michael Adam 49b91853c3 examples:smbclient:statvfs: fix O3 error unused result of fgets
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
2016-05-13 00:16:17 +02: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 examples/libsmbclient: fix Makefile after merged build patch changes. 2008-09-17 17:50:18 +02:00
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: Remove all uses of strcpy in examples (except for validchr.c). 2016-03-22 04:38:24 +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 examples/libsmbclient: avoid some compiler warnings 2014-04-02 09:03:42 +02: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: fix build on AIX6 2012-11-20 16:06:59 +01:00
testnotify.c examples:smbclient:notify: fix O3 error unused result from fgets 2016-05-13 00:16:16 +02:00
testread.c Fix a boatload of warnings in the examples. 2011-10-20 02:29:52 +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 Fix a boatload of warnings in the examples. 2011-10-20 02:29:52 +02:00
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 libsmbclient: Fix 32-bit problems 2015-09-07 15:13:08 +02:00
testwrite.c examples: Remove all uses of strcpy in examples (except for validchr.c). 2016-03-22 04:38:24 +01:00
tree.c Fix build warning for libsmbclient example. 2008-01-09 10:20:44 +01:00
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