Initial driver settings - don't worry there is nothing implemented at all,

it just exports the API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@637 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-08-07 22:25:03 +00:00
parent 70c87ab1f9
commit 2de6c0e035
+48
View File
@@ -0,0 +1,48 @@
/* driver_settings - implements the driver settings API
**
** Initial version by Axel Dörfler, [email protected]
** This file may be used under the terms of the OpenBeOS License.
*/
#include <driver_settings.h>
// ToDo: implement the driver settings! It currently only exports the API
// so that drivers will find it
status_t
unload_driver_settings(void *handle)
{
return B_BAD_VALUE;
}
void *
load_driver_settings(const char *driverName)
{
return NULL;
}
bool
get_driver_boolean_parameter(void *handle, const char *keyName, bool unknownValue, bool noArgValue)
{
return unknownValue;
}
const char *
get_driver_parameter(void *handle, const char *keyName, const char *unknownValue, const char *noArgValue)
{
return unknownValue;
}
const driver_settings *
get_driver_settings(void *handle)
{
return NULL;
}