direntry.h (139776) | direntry.h (154692) |
---|---|
1/* $FreeBSD: head/sys/fs/msdosfs/direntry.h 139776 2005-01-06 18:10:42Z imp $ */ | 1/* $FreeBSD: head/sys/fs/msdosfs/direntry.h 154692 2006-01-22 21:09:38Z fjoe $ */ |
2/* $NetBSD: direntry.h,v 1.14 1997/11/17 15:36:32 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 136 unchanged lines hidden (view full) --- 146 struct msdosfsmount *pmp); 147int unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen, 148 struct msdosfsmount *pmp); 149int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, 150 int chksum, struct msdosfsmount *pmp); 151int winChkName(const u_char *un, size_t unlen, int chksum, 152 struct msdosfsmount *pmp); 153int win2unixfn(struct winentry *wep, int chksum, struct msdosfsmount *pmp); | 2/* $NetBSD: direntry.h,v 1.14 1997/11/17 15:36:32 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 136 unchanged lines hidden (view full) --- 146 struct msdosfsmount *pmp); 147int unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen, 148 struct msdosfsmount *pmp); 149int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, 150 int chksum, struct msdosfsmount *pmp); 151int winChkName(const u_char *un, size_t unlen, int chksum, 152 struct msdosfsmount *pmp); 153int win2unixfn(struct winentry *wep, int chksum, struct msdosfsmount *pmp); |
154u_int8_t winChksum(u_int8_t *name); | 154u_int8_t winChksum(struct direntry *dep); |
155int winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp); 156size_t winLenFixup(const u_char *un, size_t unlen); 157#endif /* _KERNEL */ | 155int winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp); 156size_t winLenFixup(const u_char *un, size_t unlen); 157#endif /* _KERNEL */ |