summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-01-17 13:33:25 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-01-17 13:33:39 -0500
commit6d300399b52e0921ce205ef2f053b722b21edeeb (patch)
treec37c1ff554ddabf931af2e3ff702890e12283e39 /source3/include
parent9b3c38f4afe2b15159c8659b5916740493f7b60c (diff)
downloadsamba-6d300399b52e0921ce205ef2f053b722b21edeeb.tar.gz
samba-6d300399b52e0921ce205ef2f053b722b21edeeb.tar.bz2
samba-6d300399b52e0921ce205ef2f053b722b21edeeb.zip
Determine case sensitivity based on file system attributes.
- Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 4a8accbf4e..b2d9483a0b 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -550,11 +550,23 @@ smbc_getOptionSmbEncryptionLevel(SMBCCTX *c);
void
smbc_setOptionSmbEncryptionLevel(SMBCCTX *c, smbc_smb_encrypt_level level);
-/** Get whether to treat file names as case-sensitive. */
+/**
+ * Get whether to treat file names as case-sensitive if we can't determine
+ * when connecting to the remote share whether the file system is case
+ * sensitive. This defaults to FALSE since it's most likely that if we can't
+ * retrieve the file system attributes, it's a very old file system that does
+ * not support case sensitivity.
+ */
smbc_bool
smbc_getOptionCaseSensitive(SMBCCTX *c);
-/** Set whether to treat file names as case-sensitive. */
+/**
+ * Set whether to treat file names as case-sensitive if we can't determine
+ * when connecting to the remote share whether the file system is case
+ * sensitive. This defaults to FALSE since it's most likely that if we can't
+ * retrieve the file system attributes, it's a very old file system that does
+ * not support case sensitivity.
+ */
void
smbc_setOptionCaseSensitive(SMBCCTX *c, smbc_bool b);