Changeset 298a6ce in mainline for uspace/srv/fs/fat/fat_directory.h


Ignore:
Timestamp:
2011-06-28T05:47:36Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
82374b2
Parents:
620a367
Message:

Using local variables for storing LFN data instead of global fat_directory_t struct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_directory.h

    r620a367 r298a6ce  
    4949        block_t *b;
    5050        bool last;
    51         /* Long entry data */
    52         wchar_t wname[FAT_LFN_NAME_SIZE];
    53         size_t lfn_offset;
    54         size_t lfn_size;
    55         bool long_entry;
    56         int long_entry_count;
    57         uint8_t checksum;
    5851} __attribute__ ((packed)) fat_directory_t;
    5952
     
    7568extern int fat_directory_lookup_free(fat_directory_t *di, size_t count);
    7669extern int fat_directory_write_dentry(fat_directory_t *di, fat_dentry_t *de);
    77 extern int fat_directory_create_sfn(fat_directory_t *di, fat_dentry_t *de);
     70extern int fat_directory_create_sfn(fat_directory_t *di, fat_dentry_t *de, const wchar_t *wname);
    7871extern int fat_directory_expand(fat_directory_t *di);
    7972
Note: See TracChangeset for help on using the changeset viewer.