#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <earthworm.h>
#include <time.h>
#include <trace_buf.h>
#include <swap.h>
#include <ws_clientII.h>
#include <ahhead.h>
#include <pa_subs.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
Go to the source code of this file.
Defines | |
#define | MAXTXT 150 |
#define | AE_RHED 1 |
#define | AE_DTYPE 2 |
#define | AE_WHED 3 |
#define | AE_RDATA 4 |
#define | AE_WDATA 5 |
#define | AE_WRECORD 6 |
#define | AE_RRECORD 7 |
#define | AE_TTYOUT 8 |
#define | AE_TTYIN 9 |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
int | gethead (ahhed *, FILE *) |
int | puthead (ahhed *, FILE *) |
int | size (ahhed *) |
int | tohead (int, FILE *) |
int | getdata (ahhed *, char *, FILE *) |
int | putdata (ahhed *, char *, FILE *) |
int | putrecord (ahhed *, char *, FILE *) |
int | getrecord (ahhed *, char *, FILE *) |
int | getrecord2 (ahhed *, char **, FILE *) |
int | gogethead (int, ahhed *, FILE *) |
int | gogetrecord (int, ahhed *, char *, FILE *) |
int | logger (char *, ahhed *) |
int | out_is_tty (void) |
int | in_is_tty (void) |
char * | mkdatspace (ahhed *) |
int | get_null_head (ahhed *) |
int | acpy (char *, char *, unsigned) |
void | ah_error (char *, char *, int) |
int | maxamp (ahhed *, char *) |
int | xdr_gethead (ahhed *, XDR *) |
int | xdr_puthead (ahhed *, XDR *) |
int | xdr_tohead (int, XDR *) |
int | xdr_getdata (ahhed *, char *, XDR *) |
int | xdr_putdata (ahhed *, char *, XDR *) |
int | xdr_putrecord (ahhed *, char *, XDR *) |
int | xdr_getrecord (ahhed *, char *, XDR *) |
int | xdr_getrecord2 (ahhed *, char **, XDR *) |
int | xdr_gogethead (int, ahhed *, XDR *) |
int | xdr_gogetrecord (int, ahhed *, char *, XDR *) |
int | xdr_ahhead (XDR *, ahhed *) |
int | AHPA_init (long *OutBufferLen, char *OutDir, int debug) |
int | AHPA_next_ev (TRACE_REQ *ptrReq, int nReq, char *OutDir, char *EventDate, char *EventTime, int debug) |
int | AHPA_next (TRACE_REQ *getThis, double GapThresh, long OutBufferLen, int debug) |
int | AHPA_end_ev (int debug) |
int | AHPA_close (int debug) |
int | isatty (int) |
Variables | |
char | AHDir [2 *MAXTXT+4] |
ahhed * | AhHead |
float * | mydata |
int | ah_errno = 0 |
int | ah_nerr = 10 |
char * | ah_errlist [] |
|
Definition at line 416 of file ahputaway.c. Referenced by gethead(), maxamp(), size(), xdr_getdata(), xdr_gethead(), xdr_putdata(), and xdr_tohead(). |
|
Definition at line 418 of file ahputaway.c. Referenced by getdata(), xdr_getdata(), and xdr_putdata(). |
|
Definition at line 415 of file ahputaway.c. Referenced by gethead(), tohead(), xdr_gethead(), and xdr_tohead(). |
|
Definition at line 421 of file ahputaway.c. Referenced by getrecord(), and xdr_getrecord(). |
|
Definition at line 423 of file ahputaway.c. Referenced by in_is_tty(). |
|
Definition at line 422 of file ahputaway.c. Referenced by out_is_tty(). |
|
Definition at line 419 of file ahputaway.c. Referenced by putdata(). |
|
Definition at line 417 of file ahputaway.c. Referenced by puthead(), and xdr_puthead(). |
|
Definition at line 420 of file ahputaway.c. Referenced by putrecord(), and xdr_putrecord(). |
|
Definition at line 983 of file ahputaway.c. |
|
Definition at line 74 of file ahputaway.c. Referenced by AHPA_next(), SACPABase_end_scn(), SACPABase_end_scn_gm(), and SUDSPA_next_ev(). |
|
Definition at line 986 of file ahputaway.c. Referenced by BuildHyp(), BuildPhs(), and maxamp(). |
|
Definition at line 964 of file ahputaway.c. |
|
Definition at line 973 of file ahputaway.c. |
|
Definition at line 387 of file ahputaway.c. Referenced by PA_close(). |
|
Definition at line 376 of file ahputaway.c. Referenced by PA_end_ev(). |
|
Definition at line 120 of file ahputaway.c. References AhHead, CreateDir(), EW_FAILURE, EW_SUCCESS, logit(), and mydata. Referenced by PA_init(). |
|
|
Definition at line 153 of file ahputaway.c. References CreateDir(), EW_FAILURE, EW_SUCCESS, and logit(). Referenced by PA_next_ev(). |
|
|
Definition at line 646 of file ahputaway.c. References AE_RDATA, ah_errno, record_info::ndata, ahhed::record, and size(). Referenced by getrecord(), and getrecord2(). |
|
|
Definition at line 711 of file ahputaway.c. References AE_RRECORD, ah_errno, getdata(), and gethead(). Referenced by gogetrecord(). |
|
Definition at line 734 of file ahputaway.c. References getdata(), gethead(), and mkdatspace(). |
|
Definition at line 767 of file ahputaway.c. |
|
Definition at line 785 of file ahputaway.c. References getrecord(), and tohead(). |
|
Definition at line 875 of file ahputaway.c. |
|
Referenced by in_is_tty(), and out_is_tty(). |
|
Definition at line 807 of file ahputaway.c. References record_info::log, LOGENT, LOGSIZE, and ahhed::record. |
|
Definition at line 997 of file ahputaway.c. References AE_DTYPE, ah_errno, COMPLEX, DOUBLE, FLOAT, MAX, record_info::maxamp, MIN, min, record_info::ndata, ahhed::record, and record_info::type. Referenced by AHPA_next(). |
|
Definition at line 895 of file ahputaway.c. References record_info::ndata, ahhed::record, and size(). Referenced by getrecord2(), and xdr_getrecord2(). |
|
Definition at line 857 of file ahputaway.c. |
|
Definition at line 667 of file ahputaway.c. References AE_WDATA, ah_errno, record_info::ndata, ahhed::record, and size(). Referenced by putrecord(). |
|
Definition at line 545 of file ahputaway.c. References AE_WHED, and ah_errno. Referenced by putrecord(). |
|
Definition at line 688 of file ahputaway.c. References AE_WRECORD, ah_errno, putdata(), and puthead(). |
|
Definition at line 566 of file ahputaway.c. References AE_DTYPE, ah_errno, ahhed::record, and record_info::type. Referenced by getdata(), mkdatspace(), putdata(), and tohead(). |
|
Definition at line 607 of file ahputaway.c. References AE_RHED, ah_errno, gethead(), record_info::ndata, ahhed::record, and size(). Referenced by gogethead(), and gogetrecord(). |
|
|
Definition at line 1214 of file ahputaway.c. References AE_DTYPE, AE_RDATA, ah_errno, COMPLEX, DOUBLE, FLOAT, record_info::ndata, complex::r, ahhed::record, record_info::type, tensor::xx, and tensor::yy. Referenced by xdr_getrecord(), and xdr_getrecord2(). |
|
Definition at line 1063 of file ahputaway.c. References AE_DTYPE, AE_RHED, ah_errno, get_null_head(), ahhed::record, record_info::type, TYPEMAX, TYPEMIN, and xdr_ahhead(). Referenced by xdr_getrecord(), xdr_getrecord2(), xdr_gogethead(), and xdr_tohead(). |
|
Definition at line 1409 of file ahputaway.c. References AE_RRECORD, ah_errno, xdr_getdata(), and xdr_gethead(). Referenced by xdr_gogetrecord(). |
|
Definition at line 1432 of file ahputaway.c. References mkdatspace(), xdr_getdata(), and xdr_gethead(). |
|
Definition at line 1466 of file ahputaway.c. References xdr_gethead(), and xdr_tohead(). |
|
Definition at line 1484 of file ahputaway.c. References xdr_getrecord(), and xdr_tohead(). |
|
Definition at line 1299 of file ahputaway.c. References AE_DTYPE, AE_RDATA, ah_errno, COMPLEX, DOUBLE, FLOAT, record_info::ndata, complex::r, ahhed::record, record_info::type, tensor::xx, and tensor::yy. Referenced by xdr_putrecord(). |
|
Definition at line 1094 of file ahputaway.c. References AE_WHED, ah_errno, and xdr_ahhead(). Referenced by xdr_putrecord(). |
|
Definition at line 1386 of file ahputaway.c. References AE_WRECORD, ah_errno, xdr_putdata(), and xdr_puthead(). Referenced by AHPA_next(). |
|
Definition at line 1116 of file ahputaway.c. References AE_DTYPE, AE_RHED, ah_errno, COMPLEX, DOUBLE, FLOAT, complex::i, record_info::ndata, complex::r, ahhed::record, record_info::type, xdr_gethead(), tensor::xx, tensor::xy, and tensor::yy. Referenced by xdr_gogethead(), and xdr_gogetrecord(). |
|
Initial value: { "no error", "read header error", "bad data type", "write header error", "read data error", "write data error", "write record error", "read record error", "tty can't get binary", "tty can't send binary" } Definition at line 427 of file ahputaway.c. |
|
Definition at line 411 of file ahputaway.c. Referenced by ah_error(), getdata(), gethead(), getrecord(), in_is_tty(), maxamp(), out_is_tty(), putdata(), puthead(), putrecord(), size(), tohead(), xdr_getdata(), xdr_gethead(), xdr_getrecord(), xdr_putdata(), xdr_puthead(), xdr_putrecord(), and xdr_tohead(). |
|
Definition at line 412 of file ahputaway.c. Referenced by ah_error(). |
|
Definition at line 76 of file ahputaway.c. |
|
Definition at line 77 of file ahputaway.c. Referenced by AHPA_init(), and AHPA_next(). |
|
Definition at line 78 of file ahputaway.c. Referenced by AHPA_init(), and AHPA_next(). |