Changes between Version 5 and Version 6 of Libsrc_functions


Ignore:
Timestamp:
01/20/12 09:15:07 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Libsrc_functions

    v5 v6  
    2727The following source code files reside in vx.x/src/libsrc/util: 
    2828 
    29 ahputaway.c 
     29'''ahputaway.c''' 
    3030 
    3131routines for writing AH files. Use these with putaway.c instead of calling them directly. 
    3232 
    33 brent.c 
     33'''brent.c''' 
    3434 
    3535from "Numerical Recipes in C," used only in tlay.c. 
    3636 
    37 chron3.c 
     37'''chron3.c''' 
    3838 
    3939time-conversion routines. 
    4040 
    41 fft_prep.c 
     41'''fft_prep.c''' 
    4242 
    4343fft_prep contains routines for setting up the structures needed for the Singleton FFT package. 
    4444 
    45 fft99.c 
     45'''fft99.c''' 
    4646 
    4747This file provides the Temperton FFT (Fast Fourier Transform) packageff. 
    4848 
    49 getutil.c 
     49'''getutil.c''' 
    5050 
    5151string-to-number mapping for shared memory keys, module ids and message types. 
    5252 
    53 kom.c 
     53'''kom.c''' 
    5454 
    5555string-parsing routines for reading control files. 
    5656 
    57 logit.c 
     57'''logit.c''' 
    5858 
    5959log file routines. 
    6060 
    61 mem_circ_queue.c 
     61'''mem_circ_queue.c''' 
    6262 
    6363routines for queueing messages based on preallocated memory. 
    6464 
    65 mnbrak.c 
     65'''mnbrak.c''' 
    6666 
    6767from "Numerical Recipes in C," used only in tlay.c. 
    6868 
    69 parse_trig.c 
     69'''parse_trig.c''' 
    7070 
    7171Parse a trigger message, for preparing wave_serverV requests. 
    7272 
    73 putaway.c 
     73'''putaway.c''' 
    7474 
    7575Master putaway routines, to access ahputaway.c, sacputaway.c, and sudsputaway.c 
    7676 
    77 queue_max_size.c 
     77'''queue_max_size.c''' 
    7878 
    7979routines for queueing messages. Deprecated since they allocate memory during processing; use mem_circ_queue instead 
    8080 
    81 read_arc.c 
     81'''read_arc.c''' 
    8282 
    8383Read a hyp2000 archive message into structures. 
    8484 
    85 sacputaway.c 
     85'''sacputaway.c''' 
    8686 
    8787routines for writing SAC files. Use these with putaway.c instead of calling them directly. 
    8888 
    89 site.c 
     89'''site.c''' 
    9090 
    9191load station names and lat/long from station location file. 
    9292 
    93 socket_ew_common.c 
     93'''socket_ew_common.c''' 
    9494 
    9595routines for using sockets with timeouts. 
    9696 
    97 sudsputaway.c 
     97'''sudsputaway.c''' 
    9898 
    9999routines for writing SUDS files. Use these with putaway.c instead of calling them directly. 
    100100 
    101 swap.c 
     101'''swap.c''' 
    102102 
    103103byte-swapping routines for exchanging data between PCs and other computers. 
    104104 
    105 tlay.c 
     105'''tlay.c''' 
    106106 
    107107travel-time calculation routines. 
    108108 
    109 transfer.c 
     109'''transfer.c''' 
    110110 
    111111Routines for dealing with instrument transfer functions using pseudospectral methods and the Temperton FFT package, fft99.c. 
    112112 
    113 wave_client.c 
     113'''wave_client.c''' 
    114114 
    115115routines for clients to communicate with the original wave_server. 
    116116 
    117 geo_to_km.c 
     117'''geo_to_km.c''' 
    118118 
    119119Routine for computing distance on the earth's sufrace: given two locations specified by lat-lon pairs, compute the distance and bearing from the first to the second point. 
    120120 
    121 ws_clientII.c 
     121'''ws_clientII.c''' 
    122122 
    123123routines for clients to communicate with wave_serverV, with the help of the socket timing routines. 
     
    127127Each system-dependent directory contains all of the same functions as the other(s), with identical calling sequences and return values. So if you look in vx.x/src/libsrc/solaris, or vx.x/src/libsrc/winnt you will find the following source code files: 
    128128 
    129 copyfile.c 
     129'''copyfile.c''' 
    130130 
    131131transfer a file to a remote machine using rcp. 
    132132 
    133 dirops_ew.c 
     133'''dirops_ew.c''' 
    134134 
    135135file system directory operations. 
    136136 
    137 errexit.c 
     137'''errexit.c''' 
    138138 
    139139Stub function for non-zero return status on Solaris 
    140140 
    141 getavail.c 
     141'''getavail.c''' 
    142142 
    143143find the available disk space. 
    144144 
    145 getsysname_ew.c 
     145'''getsysname_ew.c''' 
    146146 
    147147get the local system name. 
    148148 
    149 pipe.c 
     149'''pipe.c''' 
    150150 
    151151message-passing within mega-module. 
    152152 
    153 remote_copy.c 
     153'''remote_copy.c''' 
    154154 
    155155transfer a file to a remote machine using rcp; slightly different from copyfile.c. 
    156156 
    157 sema_ew.c 
     157'''sema_ew.c''' 
    158158 
    159159semaphore functions. 
    160160 
    161 sendmail.c 
     161'''sendmail.c''' 
    162162 
    163163send email. 
    164164 
    165 sendpage.c 
     165'''sendpage.c''' 
    166166 
    167167send pager message via serial port. 
    168168 
    169 sleep_ew.c 
     169'''sleep_ew.c''' 
    170170 
    171171sleep (millisecond resolution). 
    172172 
    173 socket_ew.c 
     173'''socket_ew.c''' 
    174174 
    175175system-dependent socket functions. 
    176176 
    177 threads_ew.c 
     177'''threads_ew.c''' 
    178178 
    179179multi-thread functions. 
    180180 
    181 time_ew.c 
     181'''time_ew.c''' 
    182182 
    183183reentrant system clock functions. 
    184184 
    185 transport.c 
     185'''transport.c''' 
    186186 
    187187Earthworm message-passing protocol. 
    188188 
    189 truetime.c 
     189'''truetime.c''' 
    190190 
    191191get time from True-Time PC-SG board (WindowsNT only)