Files | |
file | xdastest.c |
OpenXDAS API test harness. | |
Modules | |
Test Timer | |
Defines | |
#define | CHECK(x) |
Deals with error conditions during testing. | |
Functions | |
int | main (int argc, char **argv) |
Test harness main entry point. |
#define CHECK | ( | x | ) |
Value:
{ \ int err; \ if ((err = (x)) != 0) \ { \ printf("xdastest: error %d, %d at: %s(%d).\n", \ err, minor, __FILE__, __LINE__); \ exit(1); \ } \ }
Definition at line 60 of file xdastest.c.
Referenced by main().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Test harness main entry point.
This is the main entry point for the test program that drives most of the XDAS API functions.
For internal use only.
Definition at line 78 of file xdastest.c.
References CHECK, xdas_buffer_desc_struct::length, xdas_buffer_desc_struct::value, XDAS_AE_AUD_DS_CORR, xdas_commit_record(), xdas_import_event_records(), xdas_initialize_session(), XDAS_OUT_ENTITY_NON_EXISTENT, XDAS_OUT_NOT_SPECIFIED, xdas_put_event_info(), xdas_start_record(), xdas_terminate_session(), and xdas_timestamp_record().