Loading...
Searching...
No Matches
omOpts.h
Go to the documentation of this file.
/*******************************************************************
* File: omOpts.h
* Purpose: declaration of options for omalloc
* Author: obachman (Olaf Bachmann)
* Created: 11/99
*******************************************************************/
#ifndef OM_OPTS_H
#define OM_OPTS_H
/* Default values for these options are defined in omDefaultConfig.h */
struct omOpts_s
{
int MinTrack;
int MinCheck;
int MaxTrack;
int MaxCheck;
int Keep;
int HowToReportErrors;
int MarkAsStatic;
unsigned int PagesPerRegion;
void (*OutOfMemoryFunc)(void);
void (*MemoryLowFunc)(void);
void (*ErrorHook)(void);
};
extern omOpts_t om_Opts;
#endif /* OM_OPTS_H */
om_Opts
omOpts_t om_Opts
Definition omOpts.c:13
omOpts_s::MinCheck
int MinCheck
Definition omOpts.h:14
omOpts_s::MemoryLowFunc
void(* MemoryLowFunc)(void)
Definition omOpts.h:22
omOpts_s::Keep
int Keep
Definition omOpts.h:17
omOpts_s::MinTrack
int MinTrack
Definition omOpts.h:13
omOpts_s::HowToReportErrors
int HowToReportErrors
Definition omOpts.h:18
omOpts_s::MarkAsStatic
int MarkAsStatic
Definition omOpts.h:19
omOpts_s::OutOfMemoryFunc
void(* OutOfMemoryFunc)(void)
Definition omOpts.h:21
omOpts_s::MaxTrack
int MaxTrack
Definition omOpts.h:15
omOpts_s::PagesPerRegion
unsigned int PagesPerRegion
Definition omOpts.h:20
omOpts_s::ErrorHook
void(* ErrorHook)(void)
Definition omOpts.h:23
omOpts_s::MaxCheck
int MaxCheck
Definition omOpts.h:16
omOpts_s
Definition omOpts.h:12