summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/direntry.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-02-23 16:44:37 +0000
committerache <ache@FreeBSD.org>1998-02-23 16:44:37 +0000
commit495995d8abf05d35e39492513fef8d94d7282d31 (patch)
tree6dcec2bc456ee67d6decdf6939733203e159feda /sys/fs/msdosfs/direntry.h
parentd6489564846ac15d58bdfe2cee9ce825afc6d170 (diff)
downloadFreeBSD-src-495995d8abf05d35e39492513fef8d94d7282d31.zip
FreeBSD-src-495995d8abf05d35e39492513fef8d94d7282d31.tar.gz
Implement loadable DOS<->local conversion tables for DOS names
Always create DOS name in uppercase Always view DOS name in lowercase
Diffstat (limited to 'sys/fs/msdosfs/direntry.h')
-rw-r--r--sys/fs/msdosfs/direntry.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/fs/msdosfs/direntry.h b/sys/fs/msdosfs/direntry.h
index 1e7c8a8..40eb9f6 100644
--- a/sys/fs/msdosfs/direntry.h
+++ b/sys/fs/msdosfs/direntry.h
@@ -1,4 +1,4 @@
-/* $Id: direntry.h,v 1.8 1998/02/22 18:00:47 ache Exp $ */
+/* $Id: direntry.h,v 1.9 1998/02/23 09:39:23 ache Exp $ */
/* $NetBSD: direntry.h,v 1.14 1997/11/17 15:36:32 ws Exp $ */
/*-
@@ -130,11 +130,11 @@ struct dirent;
void unix2dostime __P((struct timespec *tsp, u_int16_t *ddp,
u_int16_t *dtp, u_int8_t *dhp));
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, u_int8_t *ul));
-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, u_int16_t *u2w));
-int winChkName __P((const u_char *un, int unlen, struct winentry *wep, int chksum, u_int16_t *u2w, u_int8_t *ul));
-int win2unixfn __P((struct winentry *wep, struct dirent *dp, int chksum, u_int16_t *u2w));
+int dos2unixfn __P((u_char dn[11], u_char *un, int d2u_loaded, u_int8_t *d2u, int ul_loaded, u_int8_t *ul));
+int unix2dosfn __P((const u_char *un, u_char dn[12], int unlen, u_int gen, int u2d_loaded, u_int8_t *u2d, int lu_loaded, u_int8_t *lu));
+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 u2w_loaded, u_int16_t *u2w, int lu_loaded, u_int8_t *lu));
+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 */
OpenPOWER on IntegriCloud