source: trunk/src/3rdparty/libmng/libmng_chunk_descr.h@ 182

Last change on this file since 182 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 6.3 KB
Line 
1/* ************************************************************************** */
2/* * For conditions of distribution and use, * */
3/* * see copyright notice in libmng.h * */
4/* ************************************************************************** */
5/* * * */
6/* * project : libmng * */
7/* * file : libmng_chunk_descr.h copyright (c) 2007 G.Juyn * */
8/* * version : 1.0.10 * */
9/* * * */
10/* * purpose : Chunk descriptor functions (implementation) * */
11/* * * */
12/* * author : G.Juyn * */
13/* * * */
14/* * comment : definition of the chunk- anf field-descriptor routines * */
15/* * * */
16/* * changes : 1.0.9 - 12/06/2004 - G.Juyn * */
17/* * - added conditional MNG_OPTIMIZE_CHUNKREADER * */
18/* * * */
19/* * 1.0.10 - 04/08/2007 - G.Juyn * */
20/* * - added support for mPNG proposal * */
21/* * 1.0.10 - 04/12/2007 - G.Juyn * */
22/* * - added support for ANG proposal * */
23/* * * */
24/* ************************************************************************** */
25
26#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
27#pragma option -A /* force ANSI-C */
28#endif
29
30#ifndef _libmng_chunk_descr_h_
31#define _libmng_chunk_descr_h_
32
33/* ************************************************************************** */
34
35#ifdef MNG_OPTIMIZE_CHUNKREADER
36#if defined(MNG_INCLUDE_READ_PROCS) || defined(MNG_INCLUDE_WRITE_PROCS)
37
38/* ************************************************************************** */
39
40void mng_get_chunkheader (mng_chunkid iChunkname,
41 mng_chunk_headerp pResult);
42
43/* ************************************************************************** */
44
45#define MNG_F_SPECIALFUNC(n) mng_retcode n (mng_datap pData, \
46 mng_chunkp pChunk, \