Main Page Class Hierarchy Compound List File List Compound Members File Members

# swap.h File Reference

`#include <trace_buf.h>`

Go to the source code of this file.

## Functions
void | SwapShort (short *)
void | SwapInt (int *)
void | SwapLong (long *)
void | SwapDouble (double *)
void | SwapFloat (float *)
int | WaveMsgMakeLocal (TRACE_HEADER *)

## Function Documentation

void SwapDouble | ( | double * |  | ) |

| Definition at line 91 of file swap.c. Referenced by SAC_SwapDouble(), SwapDo(), and WaveMsgMakeLocal().

void SwapFloat | ( | float * |  | ) |

| Definition at line 259 of file swap.c. Referenced by read_head(), SACPABase_end_scn(), SACPABase_end_scn_gm(), SwapDo(), and swapsac().

void SwapInt | ( | int * |  | ) |

| Definition at line 52 of file swap.c. Referenced by WaveMsgMakeLocal().

void SwapLong | ( | long * |  | ) |

| Definition at line 72 of file swap.c. Referenced by add_seisan_channel_data(), close_seisan_file(), end_seisan_channel(), extract(), read_head(), read_tag(), SAC_SwapLong(), start_seisan_channel(), SUDSPA_next(), SwapDo(), swapsac(), WaveMsgMakeLocal(), and write_seisan().

void SwapShort | ( | short * |  | ) |

| Definition at line 36 of file swap.c. Referenced by read_frame(), read_head(), read_tag(), SAC_SwapShort(), SUDSPA_next(), SwapDo(), and WaveMsgMakeLocal().

int WaveMsgMakeLocal | ( | TRACE_HEADER * |  | ) |

| Definition at line 129 of file swap.c. References TRACE_HEADER::datatype, TRACE_HEADER::endtime, TRACE_HEADER::nsamp, TRACE_HEADER::pinno, TRACE_HEADER::samprate, TRACE_HEADER::starttime, SwapDouble(), SwapInt(), SwapLong(), and SwapShort(). Referenced by AHPA_next(), pa_find_data(), SACPABase_write_trace(), SUDSPA_next(), and TANKPA_next().