From 8b77db6280c6d832eb89455e1b30877454a9a5a1 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 30 Nov 2016 22:05:43 -0500 Subject: Starting to get data. --- src/survive.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/survive.c') diff --git a/src/survive.c b/src/survive.c index a6a8b9e..6fa6fb3 100644 --- a/src/survive.c +++ b/src/survive.c @@ -3,11 +3,12 @@ #include #include -struct SurviveContext * survive_init( void(*ff)( struct SurviveContext * ctx, const char * fault ) ) +struct SurviveContext * survive_init( void(*ff)( struct SurviveContext * ctx, const char * fault ), void(*notefunction)( struct SurviveContext * ctx, const char * note ) ) { int r = 0; struct SurviveContext * ret = calloc( 1, sizeof( struct SurviveContext ) ); ret->faultfunction = ff; + ret->notefunction = notefunction; if( r = survive_usb_init( ret ) ) { return 0; -- cgit v1.2.3