FORM v5.0.0-35-g6318119
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>
Include dependency graph for minos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iniinfo
 
struct  objects
 
struct  indexblock
 
struct  nameblock
 
struct  dbase
 

Macros

#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.

Macro Definition Documentation

◆ TODISK

#define TODISK   0

Definition at line 145 of file minos.h.

◆ FROMDISK

#define FROMDISK   1

Definition at line 146 of file minos.h.

◆ MDIRTYFLAG

#define MDIRTYFLAG   1

Definition at line 147 of file minos.h.

◆ MCLEANFLAG

#define MCLEANFLAG   (~MDIRTYFLAG)

Definition at line 148 of file minos.h.

◆ INANDOUT

#define INANDOUT   0

Definition at line 149 of file minos.h.

◆ INPUTONLY

#define INPUTONLY   1

Definition at line 150 of file minos.h.

◆ OUTPUTONLY

#define OUTPUTONLY   2

Definition at line 151 of file minos.h.

◆ NOCOMPRESS

#define NOCOMPRESS   4

Definition at line 152 of file minos.h.

Function Documentation

◆ minosread()

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

Definition at line 66 of file minos.c.

◆ minoswrite()

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

Definition at line 83 of file minos.c.

Variable Documentation

◆ withoutflush

int withoutflush
extern

Definition at line 45 of file minos.c.