Magellan Linux

Contents of /trunk/linterm_tools/fw_builder/bootsplash/mng.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658 - (show annotations) (download)
Mon Jan 14 16:57:24 2008 UTC (16 years, 3 months ago) by niro
File MIME type: text/plain
File size: 1305 byte(s)
initial import

1 /*
2 * fbmngplay - fb console MNG player.
3 * (c) 2001-2002 by Stefan Reinauer, <stepan@suse.de>
4 *
5 * This program is based on mngplay, part of libmng, written and (C) by
6 * Ralph Giles <giles@ashlu.bc.ca>
7 *
8 * This program my be redistributed under the terms of the
9 * GNU General Public Licence, version 2, or at your preference,
10 * any later version.
11 */
12
13 #ifndef __HOOKS_H
14 #define __HOOKS_H
15
16 #include "fbmngplay.h"
17
18 extern mngstuff *mng;
19
20 mng_ptr mngalloc(mng_uint32 size);
21 void mngfree(mng_ptr p, mng_uint32 size);
22 mng_bool mngopenstream(mng_handle mng);
23 mng_bool mngclosestream(mng_handle mng);
24 mng_bool mngreadstream(mng_handle mng, mng_ptr buffer, mng_uint32 size,
25 mng_uint32 * bytesread);
26 mng_bool mngprocessheader(mng_handle mng, mng_uint32 width,
27 mng_uint32 height);
28 mng_ptr mnggetcanvasline(mng_handle mng, mng_uint32 line);
29 mng_uint32 mnggetticks(mng_handle mng);
30 mng_bool mngrefresh(mng_handle mng, mng_uint32 x, mng_uint32 y,
31 mng_uint32 w, mng_uint32 h);
32 mng_bool mngsettimer(mng_handle mng, mng_uint32 msecs);
33 mng_bool mngerror(mng_handle mng, mng_int32 code, mng_int8 severity,
34 mng_chunkid chunktype, mng_uint32 chunkseq,
35 mng_int32 extra1, mng_int32 extra2, mng_pchar text);
36 int mngquit(mng_handle mng);
37 void cleanup(void);
38 void restore_area(void);
39
40 #endif