/usr/include/CharLS/interface.h is in libcharls-dev 1.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | //
// (C) Jan de Vaan 2007-2010, all rights reserved. See the accompanying "License.txt" for licensed use.
//
#ifndef JLS_INTERFACE
#define JLS_INTERFACE
#include "publictypes.h"
#if defined(_WIN32)
#ifndef CHARLS_IMEXPORT
#define CHARLS_IMEXPORT(returntype) __declspec(dllimport) returntype __stdcall
#endif
#else
#ifndef CHARLS_IMEXPORT
#if __GNUC__ >= 4
#define CHARLS_IMEXPORT(returntype) __attribute__ ((visibility ("default"))) returntype
#else
#define CHARLS_IMEXPORT(returntype) returntype
#endif
#endif
#endif /* _WIN32 */
#ifdef __cplusplus
extern "C"
{
#endif
CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsEncode(void* compressedData, size_t compressedLength, size_t* pcbyteWritten,
const void* uncompressedData, size_t uncompressedLength, struct JlsParameters* pparams);
CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsDecode(void* uncompressedData, size_t uncompressedLength,
const void* compressedData, size_t compressedLength,
struct JlsParameters* info);
CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsDecodeRect(void* uncompressedData, size_t uncompressedLength,
const void* compressedData, size_t compressedLength,
struct JlsRect rect, struct JlsParameters* info);
CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsReadHeader(const void* compressedData, size_t compressedLength,
struct JlsParameters* pparams);
CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsVerifyEncode(const void* uncompressedData, size_t uncompressedLength,
const void* compressedData, size_t compressedLength);
#ifdef __cplusplus
}
#endif
#endif
|