aboutsummaryrefslogtreecommitdiff
path: root/include/survive.h
blob: 7ae140257ac78e879080fbcfd74b8fd16a1107eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SURVIVE_H
#define _SURVIVE_H

struct SurviveContext;

struct SurviveContext * survive_init( void(*faultfunction)( struct SurviveContext * ctx, const char * fault ),
	void(*notefunction)( struct SurviveContext * ctx, const char * note )  );

void survive_close( struct SurviveContext * ctx );
int survive_poll();


int survive_simple_inflate( struct SurviveContext * ctx, const char * input, int inlen, char * output, int outlen );

#endif