| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/include/fs/udf/ |
Upload File : |
/* * Prototypes for the OSTA functions * * $FreeBSD: releng/12.4/sys/fs/udf/osta.h 298806 2016-04-29 20:51:24Z pfg $ */ /*- ********************************************************************** * OSTA compliant Unicode compression, uncompression routines. * Copyright 1995 Micro Design International, Inc. * Written by Jason M. Rinn. * Micro Design International gives permission for the free use of the * following source code. */ /* * Various routines from the OSTA 2.01 specs. Copyrights are included with * each code segment. Slight whitespace modifications have been made for * formatting purposes. Typos/bugs have been fixed. */ #ifndef UNIX #define UNIX #endif #ifndef MAXLEN #define MAXLEN 255 #endif /*********************************************************************** * The following two typedef's are to remove compiler dependencies. * 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_UncompressUnicodeByte(int, byte *, byte *); 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);