1 /* $NetBSD: udf_osta.h,v 1.4 2008/05/14 16:49:48 reinoud Exp $ */
4 * Prototypes for the OSTA functions
8 #ifndef _FS_UDF_OSTA_H_
9 #define _FS_UDF_OSTA_H_
11 #include <sys/types.h>
26 /***********************************************************************
27 * The following two typedef's are to remove compiler dependancies.
28 * byte needs to be unsigned 8-bit, and unicode_t needs to be
31 typedef uint16_t unicode_t
;
35 int udf_UncompressUnicode(int, byte
*, unicode_t
*);
36 int udf_CompressUnicode(int, int, unicode_t
*, byte
*);
37 unsigned short udf_cksum(unsigned char *, int);
38 unsigned short udf_unicode_cksum(unsigned short *, int);
39 uint16_t udf_ea_cksum(uint8_t *data
);
40 int UDFTransName(unicode_t
*, unicode_t
*, int);
41 int UnicodeLength(unicode_t
*string
);
44 #endif /* _FS_UDF_OSTA_H_ */