This module implements the library initialization and clean-up.
The library checks for an environment variable, whose name is defined by the compile-time macro OSKI_DEBUG_LEVEL, for a debugging level.
#include <string.h>
#include <stdlib.h>
#include <oski/common.h>
#include <oski/modloader.h>
Defines | |
| #define | PACKAGE_STRING "BeBOP-OSKI (unknown version)" |
| #define | OSKI_DEBUG_LEVEL "OSKI_DEBUG_LEVEL" |
| Default environment variable to hold the initial debugging level. | |
Functions | |
| static void | InitSetDebugLevel (void) |
| Set the debugging level from the environment variable whose name is given by the compile-time macro, OSKI_DEBUG_LEVEL. | |
| int | oski_Init (void) |
| Initialize the library. | |
| void | oski_Close (void) |
| Shuts the library down. | |
|
|
Set the debugging level from the environment variable whose name is given by the compile-time macro, OSKI_DEBUG_LEVEL.
|
|
|
Initialize the library.
|
1.4.6