FreeBSD/Linux Kernel Cross Reference
sys/fs/udf/osta.h
1 /*
2 * Prototypes for the OSTA functions
3 *
4 * $FreeBSD: releng/5.0/sys/fs/udf/osta.h 94663 2002-04-14 16:52:14Z scottl $
5 */
6
7 #ifndef UNIX
8 #define UNIX
9 #endif
10
11 #ifndef MAXLEN
12 #define MAXLEN 255
13 #endif
14
15 /***********************************************************************
16 * The following two typedef's are to remove compiler dependancies.
17 * byte needs to be unsigned 8-bit, and unicode_t needs to be
18 * unsigned 16-bit.
19 */
20 typedef unsigned short unicode_t;
21 typedef unsigned char byte;
22
23 int udf_UncompressUnicode(int, byte *, unicode_t *);
24 int udf_CompressUnicode(int, int, unicode_t *, byte *);
25 unsigned short udf_cksum(unsigned char *, int);
26 unsigned short udf_unicode_cksum(unsigned short *, int);
27 int UDFTransName(unicode_t *, unicode_t *, int);
Cache object: 39fcba49a32158d3843724dd6fecad48
|