summaryrefslogtreecommitdiffstats
path: root/common/recipes-utils/jbi/files/code/jbicomp.h
blob: 382995db8d669426452abc0c6a63f132b90c592f (plain)
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
/****************************************************************************/
/*																			*/
/*	Module:			jbicomp.h												*/
/*																			*/
/*					Copyright (C) Altera Corporation 1997-2001				*/
/*																			*/
/*	Description:	Contains the function prototypes for compressing		*/
/*					and uncompressing Boolean array data.					*/
/*																			*/
/****************************************************************************/

#ifndef INC_JBICOMP_H
#define INC_JBICOMP_H

#if PORT==DOS

void jbi_uncompress_page
(
	int variable_id,
	int page,
	int version
);

#else

unsigned long jbi_uncompress
(
	unsigned char *in, 
	unsigned long in_length, 
	unsigned char *out, 
	unsigned long out_length,
	int version
);

#endif /* PORT==DOS */

#endif /* INC_JBICOMP_H */
OpenPOWER on IntegriCloud