aboutsummaryrefslogtreecommitdiff
path: root/src/survive_internal.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-03-08 01:01:42 -0500
committercnlohr <lohr85@gmail.com>2017-03-08 01:01:42 -0500
commit2a4a803b2f162692ca11e700b32da0a77049bfd2 (patch)
tree0f4580ce91c8e43a1c692948010402abcfacf075 /src/survive_internal.h
parenta087915c5dd8c356911453a019723ebaa9904a36 (diff)
downloadlibsurvive-2a4a803b2f162692ca11e700b32da0a77049bfd2.tar.gz
libsurvive-2a4a803b2f162692ca11e700b32da0a77049bfd2.tar.bz2
cleaning up more header stuff
Diffstat (limited to 'src/survive_internal.h')
-rw-r--r--src/survive_internal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/survive_internal.h b/src/survive_internal.h
index ff156ad..392104a 100644
--- a/src/survive_internal.h
+++ b/src/survive_internal.h
@@ -7,16 +7,16 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
-#include "survive_driverman.h"
#include <zlib.h>
#include <survive.h>
-#define SV_INFO( x... ) { char stbuff[1024]; sprintf( stbuff, x ); ctx->notefunction( ctx, stbuff ); }
-#define SV_ERROR( x... ) { char stbuff[1024]; sprintf( stbuff, x ); ctx->faultfunction( ctx, stbuff ); }
-//XXX TODO This one needs to be rewritten.
-#define SV_KILL() exit(0)
+//Driver registration
+#define MAX_DRIVERS 32
+void * GetDriver( const char * name );
+const char * GetDriverNameMatching( const char * prefix, int place );
+void ListDrivers();
#endif