CORSIKA add-on package IACT/ATMO:  Version 1.63 (November 2020)
Data Structures | Typedefs | Functions | Variables
testio.c File Reference

Test program for eventio data format. More...

#include "initial.h"
#include "warning.h"
#include "io_basic.h"
#include "fileopen.h"
Include dependency graph for testio.c:

Data Structures

struct  test_struct
 

Typedefs

typedef struct test_struct TEST_DATA
 

Functions

int datacmp (TEST_DATA *data1, TEST_DATA *data2)
 Compare elements of test data structures. More...
 
int main (int argc, char **argv)
 Main function for I/O test program. More...
 
int read_test1 (TEST_DATA *data, IO_BUFFER *iobuf)
 Read test data with single-element functions. More...
 
int read_test2 (TEST_DATA *data, IO_BUFFER *iobuf)
 Read test data with vector functions as far as possible. More...
 
int read_test3 (TEST_DATA *data, IO_BUFFER *iobuf)
 Read test data as a nested tree. More...
 
int read_test_lrg (IO_BUFFER *iobuf)
 Read large data block. More...
 
void syntax (const char *prg)
 Replacement for function missing on OS-9.
 
int write_test1 (TEST_DATA *data, IO_BUFFER *iobuf)
 Write test data with single-element functions. More...
 
int write_test2 (TEST_DATA *data, IO_BUFFER *iobuf)
 Write test data with vector functions as far as possible. More...
 
int write_test3 (TEST_DATA *data, IO_BUFFER *iobuf)
 Write test data in nested items. More...
 
int write_test_lrg (IO_BUFFER *iobuf)
 Write large data block. More...
 

Variables

static int care_int
 
static int care_long
 
static int care_short
 

Detailed Description

Author
Konrad Bernloehr
Date
1994 to 2010
CVS $Date: 2019/07/12 15:37:40 $ 
Version
CVS $Revision: 1.26 $