2001-11-14 00:36:45 +01:00
|
|
|
FreeDOS LFN helper API.
|
2001-09-24 04:21:14 +02:00
|
|
|
|
|
|
|
struct lfn_inode
|
|
|
|
{
|
2001-11-14 00:36:45 +01:00
|
|
|
UNICODE name[256];
|
2001-09-24 04:21:14 +02:00
|
|
|
|
|
|
|
struct dirent l_dir; /* this file's dir entry image */
|
|
|
|
|
|
|
|
ULONG l_diroff; /* offset of the dir entry */
|
|
|
|
};
|
|
|
|
typedef struct lfn_inode FAR * lfn_inode_ptr;
|
|
|
|
|
2001-11-14 00:36:45 +01:00
|
|
|
COUNT lfn_allocate_inode(VOID);
|
2001-09-24 04:21:14 +02:00
|
|
|
COUNT lfn_free_inode(COUNT handle);
|
|
|
|
|
2001-11-14 00:36:45 +01:00
|
|
|
COUNT lfn_setup_inode(COUNT handle, CLUSTER dirstart, ULONG diroff);
|
|
|
|
|
2001-09-24 04:21:14 +02:00
|
|
|
COUNT lfn_create_entries(COUNT handle, lfn_inode_ptr lip);
|
2001-11-14 00:36:45 +01:00
|
|
|
COUNT lfn_remove_entries(COUNT handle);
|
2001-09-24 04:21:14 +02:00
|
|
|
|
|
|
|
COUNT lfn_dir_read(COUNT handle, lfn_inode_ptr lip);
|
2001-11-14 00:36:45 +01:00
|
|
|
COUNT lfn_dir_write(COUNT handle);
|