diff options
author | scottl <scottl@FreeBSD.org> | 2002-04-14 16:52:14 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2002-04-14 16:52:14 +0000 |
commit | 1fd1b83baf376aa6cdbc4fee6c646c2e732250cd (patch) | |
tree | cb837dcaf5010099c0b2e9ce021a70b5e6f736ef /sys/fs/udf/osta.h | |
parent | 0559ebe0fd6ed993e11e306ef21ed5a9cb6da7f9 (diff) | |
download | FreeBSD-src-1fd1b83baf376aa6cdbc4fee6c646c2e732250cd.zip FreeBSD-src-1fd1b83baf376aa6cdbc4fee6c646c2e732250cd.tar.gz |
Actually add the UDF files!
Diffstat (limited to 'sys/fs/udf/osta.h')
-rw-r--r-- | sys/fs/udf/osta.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/fs/udf/osta.h b/sys/fs/udf/osta.h new file mode 100644 index 0000000..5c26b6b --- /dev/null +++ b/sys/fs/udf/osta.h @@ -0,0 +1,27 @@ +/* + * Prototypes for the OSTA functions + * + * $FreeBSD$ + */ + +#ifndef UNIX +#define UNIX +#endif + +#ifndef MAXLEN +#define MAXLEN 255 +#endif + +/*********************************************************************** + * The following two typedef's are to remove compiler dependancies. + * byte needs to be unsigned 8-bit, and unicode_t needs to be + * unsigned 16-bit. + */ +typedef unsigned short unicode_t; +typedef unsigned char byte; + +int udf_UncompressUnicode(int, byte *, unicode_t *); +int udf_CompressUnicode(int, int, unicode_t *, byte *); +unsigned short udf_cksum(unsigned char *, int); +unsigned short udf_unicode_cksum(unsigned short *, int); +int UDFTransName(unicode_t *, unicode_t *, int); |