FORM  4.2.1
Data Structures | Macros | Typedefs | Functions | Variables
minos.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <time.h>

Go to the source code of this file.

Data Structures

struct  iniinfo
 
struct  objects
 
struct  indexblock
 
struct  nameblock
 
struct  dbase
 

Macros

#define MAXBASES   16
 
#define NUMOBJECTS   100
 
#define MAXINDEXSIZE   33000000L
 
#define NAMETABLESIZE   1008
 
#define ELEMENTSIZE   128
 
#define TODISK   0
 
#define FROMDISK   1
 
#define MDIRTYFLAG   1
 
#define MCLEANFLAG   (~MDIRTYFLAG)
 
#define INANDOUT   0
 
#define INPUTONLY   1
 
#define OUTPUTONLY   2
 
#define NOCOMPRESS   4
 

Typedefs

typedef struct iniinfo INIINFO
 
typedef struct objects OBJECTS
 
typedef struct indexblock INDEXBLOCK
 
typedef struct nameblock NAMESBLOCK
 
typedef struct dbase DBASE
 

Functions

int minosread (FILE *f, char *buffer, MLONG size)
 
int minoswrite (FILE *f, char *buffer, MLONG size)
 

Variables

int withoutflush
 

Detailed Description

Contains all needed declarations and definitions for the tablebase low level file routines. These have been taken from the minos database system and modified somewhat.

!!!CAUTION!!! Changes in this file will most likely have consequences for the recovery mechanism (see checkpoint.c). You need to care for the code in checkpoint.c as well and modify the code there accordingly!

Definition in file minos.h.