|
TPCCLIB
|
Reading and writing ECAT headers. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpcextensions.h"#include "tpcift.h"#include "tpcecat.h"Go to the source code of this file.
Functions | |
| int | ecatWriteMainheader (IFT *ift, unsigned char *buf, TPCSTATUS *status) |
| int | ecatReadMainheader (const unsigned char *buf, IFT *ift, TPCSTATUS *status) |
Reading and writing ECAT headers.
Definition in file ecatheader.c.
Read ECAT main header from data block into IFT struct.
| buf | Pointer to data block containing main header. |
| ift | Pointer to initiated IFT struct; any previous contents are NOT deleted. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 100 of file ecatheader.c.
Write ECAT main header from IFT struct into data block.
| ift | Pointer to IFT struct containing main header fields; contents are not modified. |
| buf | Pointer to data block of size ECATBLKSIZE bytes. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 25 of file ecatheader.c.
Referenced by imgWrite().