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