YBOS Define
[The ybos.h & ybos.c]


Defines

#define YBOS_PHYREC_SIZE   8192
#define YBOS_BUFFER_SIZE   3*(YBOS_PHYREC_SIZE<<2) + MAX_EVENT_SIZE + 128
#define YB_BANKLIST_MAX   32
#define YB_STRING_BANKLIST_MAX   YB_BANKLIST_MAX * 4
#define H_BLOCK_SIZE   0
#define H_BLOCK_NUM   1
#define H_HEAD_LEN   2
#define H_START   3
#define D_RECORD   1
#define D_HEADER   2
#define D_EVTLEN   3
#define YB_COMPLETE   1
#define YB_INCOMPLETE   2
#define YB_NO_RECOVER   -1
#define YB_NO_RUN   0
#define YB_ADD_RUN   1
#define DSP_RAW   1
#define DSP_BANK   2
#define DSP_UNK   0
#define DSP_DEC   1
#define DSP_HEX   2
#define DSP_ASC   3
#define I2_BKTYPE   1
#define A1_BKTYPE   2
#define I4_BKTYPE   3
#define F4_BKTYPE   4
#define D8_BKTYPE   5
#define I1_BKTYPE   8
#define MAX_BKTYPE   I1_BKTYPE+1


Define Documentation

#define A1_BKTYPE   2
 

ASCII 1 byte

Definition at line 276 of file ybos.h.

Referenced by update_odb().

#define D8_BKTYPE   5
 

Double 8 bytes

Definition at line 279 of file ybos.h.

Referenced by update_odb().

#define D_EVTLEN   3
 

YBOS

Definition at line 109 of file ybos.h.

#define D_HEADER   2
 

YBOS

Definition at line 108 of file ybos.h.

#define D_RECORD   1
 

Display parameters YBOS

Definition at line 107 of file ybos.h.

#define DSP_ASC   3
 

Display data in ASCII format

Definition at line 129 of file ybos.h.

#define DSP_BANK   2
 

Display data in bank format

Definition at line 122 of file ybos.h.

#define DSP_DEC   1
 

Display data in decimal format

Definition at line 127 of file ybos.h.

#define DSP_HEX   2
 

Display data in headecimal format

Definition at line 128 of file ybos.h.

#define DSP_RAW   1
 

Display mode options Display raw data

Definition at line 121 of file ybos.h.

#define DSP_UNK   0
 

Display format Display format unknown

Definition at line 126 of file ybos.h.

#define F4_BKTYPE   4
 

Float 4 bytes

Definition at line 278 of file ybos.h.

#define H_BLOCK_NUM   1
 

YBOS

Definition at line 101 of file ybos.h.

#define H_BLOCK_SIZE   0
 

record header content YBOS

Definition at line 100 of file ybos.h.

#define H_HEAD_LEN   2
 

YBOS

Definition at line 102 of file ybos.h.

#define H_START   3
 

YBOS

Definition at line 103 of file ybos.h.

#define I1_BKTYPE   8
 

Signed Integer 1 byte

Definition at line 280 of file ybos.h.

Referenced by update_odb(), and ybk_iterate().

#define I2_BKTYPE   1
 

YBOS Bank types Signed Integer 2 bytes

Definition at line 275 of file ybos.h.

Referenced by update_odb().

#define I4_BKTYPE   3
 

Signed Interger 4bytes

Definition at line 277 of file ybos.h.

#define MAX_BKTYPE   I1_BKTYPE+1
 

delimiter

Definition at line 281 of file ybos.h.

Referenced by ybk_find(), ybk_list(), and ybk_locate().

#define YB_ADD_RUN   1
 

YBOS

Definition at line 117 of file ybos.h.

#define YB_BANKLIST_MAX   32
 

maximum number of banks to be found by the ybk_list() or bk_list()

Definition at line 69 of file ybos.h.

Referenced by ybk_list().

#define YB_COMPLETE   1
 

File fragmentation YBOS

Definition at line 113 of file ybos.h.

#define YB_INCOMPLETE   2
 

YBOS

Definition at line 114 of file ybos.h.

#define YB_NO_RECOVER   -1
 

YBOS

Definition at line 115 of file ybos.h.

#define YB_NO_RUN   0
 

YBOS

Definition at line 116 of file ybos.h.

#define YB_STRING_BANKLIST_MAX   YB_BANKLIST_MAX * 4
 

to be used for xbk_list()

Definition at line 71 of file ybos.h.

#define YBOS_BUFFER_SIZE   3*(YBOS_PHYREC_SIZE<<2) + MAX_EVENT_SIZE + 128
 

in BYTES

Definition at line 67 of file ybos.h.

#define YBOS_HEADER_LENGTH   4
 

Definition at line 66 of file ybos.h.

#define YBOS_PHYREC_SIZE   8192
 

General parameters I*4

Definition at line 64 of file ybos.h.


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk