Displaying 1 result from an estimated 1 matches for "smb_decode_long_dir".
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...ng filename structure using the specified info level:
+ * level 1 for anything below NT1 protocol
+ * level 260 for NT1 protocol
+ *
* We return a reference to the name string to avoid copying, and perform
* any needed upper/lower casing in place.
@@ -1320,7 +1520,7 @@
*/
static char *
smb_decode_long_dirent(struct smb_sb_info *server, char *p,
- struct cache_dirent *entry)
+ struct cache_dirent *entry, int level)
{
char *result;
unsigned int len = 0;
@@ -1330,19 +1530,47 @@
*/
entry->ino = 0;
- result = p + WVAL(...