diff options
author | ache <ache@FreeBSD.org> | 1998-02-22 15:09:54 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-02-22 15:09:54 +0000 |
commit | 4c96c86e7fd18c573deb070311fb9165c00f1b37 (patch) | |
tree | a73e77bc941ad8d5e4bdb4d7bfe02d2864b3ae3e /sys/fs/msdosfs/direntry.h | |
parent | 80b03bbf40d57c2f7bbe580c385d404ebd5e060d (diff) | |
download | FreeBSD-src-4c96c86e7fd18c573deb070311fb9165c00f1b37.zip FreeBSD-src-4c96c86e7fd18c573deb070311fb9165c00f1b37.tar.gz |
Implement loadable local<->unicode file names conversion
Note: it produce correct names only for Win95, DOS names are still
incorrect and need similar work
mount_msdos support coming soon
Diffstat (limited to 'sys/fs/msdosfs/direntry.h')
-rw-r--r-- | sys/fs/msdosfs/direntry.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/msdosfs/direntry.h b/sys/fs/msdosfs/direntry.h index 0bfe164..9335961 100644 --- a/sys/fs/msdosfs/direntry.h +++ b/sys/fs/msdosfs/direntry.h @@ -1,4 +1,4 @@ -/* $Id: direntry.h,v 1.4 1997/02/22 09:40:45 peter Exp $ */ +/* $Id: direntry.h,v 1.5 1998/02/18 09:28:27 jkh Exp $ */ /* $NetBSD: direntry.h,v 1.14 1997/11/17 15:36:32 ws Exp $ */ /*- @@ -132,9 +132,9 @@ void unix2dostime __P((struct timespec *tsp, u_int16_t *ddp, void dos2unixtime __P((u_int dd, u_int dt, u_int dh, struct timespec *tsp)); int dos2unixfn __P((u_char dn[11], u_char *un, int lower)); int unix2dosfn __P((const u_char *un, u_char dn[12], int unlen, u_int gen)); -int unix2winfn __P((const u_char *un, int unlen, struct winentry *wep, int cnt, int chksum)); +int unix2winfn __P((const u_char *un, int unlen, struct winentry *wep, int cnt, int chksum, int table_loaded, u_int16_t *u2w)); int winChkName __P((const u_char *un, int unlen, struct winentry *wep, int chksum)); -int win2unixfn __P((struct winentry *wep, struct dirent *dp, int chksum)); +int win2unixfn __P((struct winentry *wep, struct dirent *dp, int chksum, int table_loaded, u_int16_t *u2w)); u_int8_t winChksum __P((u_int8_t *name)); int winSlotCnt __P((const u_char *un, int unlen)); #endif /* KERNEL */ |