Functions | |
void | ybk_init (DWORD *plrl) |
void | ybk_create (DWORD *plrl, char *bkname, DWORD bktype, void *pbkdat) |
INT | ybk_close (DWORD *plrl, void *pbkdat) |
INT | ybk_size (DWORD *plrl) |
INT | ybk_list (DWORD *plrl, char *bklist) |
INT | ybk_find (DWORD *plrl, char *bkname, DWORD *bklen, DWORD *bktype, void **pbk) |
INT | ybk_locate (DWORD *plrl, char *bkname, void *pdata) |
INT | ybk_iterate (DWORD *plrl, YBOS_BANK_HEADER **pybkh, void **pdata) |
|
Close the YBOS bank previously created by ybk_create(). The data pointer pdata must be obtained by ybk_create() and used as an address to fill a bank. It is incremented with every value written to the bank and finally points to a location just after the last byte of the bank. It is then passed to ybk_close() to finish the bank creation. YBOS is a 4 bytes bank aligned structure. Padding is performed at the closing of the bank with values of 0x0f or/and 0x0ffb. See YBOS bank examples.
|
|
Define the following memory area to be a YBOS bank with the given attribute. See YBOS bank examples. Before banks can be created in an event, ybk_init(). has to be called first. YBOS does not support mixed bank type. i.e: all the data are expected to be of the same type. YBOS is a 4 bytes bank aligned structure. Padding is performed at the closing of the bank (see ybk_close) with values of 0x0f or/and 0x0ffb. See YBOS bank examples.
|
|
Find the requested bank and return the infirmation if the bank as well as the pointer to the top of the data section.
|
|
Initializes an event for YBOS banks structure. Before banks can be created in an event, ybk_init() has to be called first. See YBOS bank examples.
|
|
Returns the bank header pointer and data pointer of the given bank name.
Definition at line 567 of file ybos.c. Referenced by update_odb(). |
|
Returns the size in bytes of the event composed of YBOS bank(s). The bk_list() has to be a predefined string of max size of YB_STRING_BANKLIST_MAX.
|
|
Locate the requested bank and return the pointer to the top of the data section.
|
|
Returns the size in bytes of the event composed of YBOS bank(s).
|