driver.h
author tron
Fri, 05 Aug 2005 08:24:12 +0000
changeset 2283 bbf48bc7afda
parent 2186 461a2aff3486
child 2436 177cb6a8339f
permissions -rw-r--r--
(svn r2807) Fix two major bugs in the threaded save code:
- Do not dereference a local variable which no longer exists; this lead to random crashes when saving
- (Win32) Do not close a handle before it is used last
There are still many major problems (race conditions and resulting memory corruption/crashes) left
/* $Id$ */

#ifndef DRIVER_H
#define DRIVER_H

void LoadDriver(int driver, const char *name);

bool GetDriverParamBool(const char* const* parm, const char* name);
int GetDriverParamInt(const char* const* parm, const char* name, int def);

void GetDriverList(char* p);

#endif