#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) |
This library implementation does not require the user to call oski_Close(), but an application should to free the memory storing internal library data structures. |
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.
static void InitSetDebugLevel | ( | void | ) | [static] |
Set the debugging level from the environment variable whose name is given by the compile-time macro, OSKI_DEBUG_LEVEL.
References OSKI_DEBUG_LEVEL, and oski_SetDebugLevel().
Referenced by oski_Init().
void oski_Close | ( | void | ) |
This library implementation does not require the user to call oski_Close(), but an application should to free the memory storing internal library data structures.
Shuts the library down.
References oski_CloseHeurManager(), oski_CloseMatTypeManager(), oski_CloseModuleLoader(), and oski_PrintDebugMessage().
Referenced by main().
int oski_Init | ( | void | ) |
Initialize the library.
References InitSetDebugLevel(), oski_CreateTimer(), oski_DestroyTimer(), oski_InitHeurManager(), oski_InitMatTypeManager(), oski_InitModuleLoader(), and oski_PrintDebugMessage().
Referenced by main().