1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/examples/fuse
Volker Lendecke 1e738cb061 libsmb: Introduce type-safe struct cli_smb2_create_flags
This makes it clearer what to pass into the create_flags argument to
cli_smb2_create_fnum(). There was already confusion in
source3/torture/test_smb2.c: It passed in
SMB2_OPLOCK_LEVEL_NONE (which was okay because it #defines to 0), but
it should have been a straight 0, for example
SMB2_OPLOCK_LEVEL_EXCLUSIVE would have been wrong.

This way adding other flags (.nofollow comes to mind) will be much
easier to handle.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2023-04-18 14:58:36 +00:00
..
clifuse.c libsmb: Introduce type-safe struct cli_smb2_create_flags 2023-04-18 14:58:36 +00:00
clifuse.h
README
smb2mount.c examples: Migrate smb2mount to new cmdline option parser 2021-05-28 02:55:31 +00:00
wscript
wscript_build examples: Migrate smb2mount to new cmdline option parser 2021-05-28 02:55:31 +00:00

WARNING:

This is experimental work-in-progress code, don't expect it to do
anything sensible.

Eventually this *might* turn into a fuse client filesystem. This is
not a promise for anything.