
/*
 *   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
 *   CHECKED IT OUT USING THE COMMAND CHECKOUT.
 *
 *    $Id: trig2arc.h,v 1.1 2010/01/01 00:00:00 jmsaurel Exp $
 *
 *    Revision history:
 *     $Log: trig2arc.h,v $
 *     Revision 1.1 2010/01/01 00:00:00 jmsaurel
 *     Initial revision
 *
 *
 */

#ifndef TRIG2HYP_H
#define TRIG2HYP_H

/*
 * trig2arc.h : Include file for trig2arc.c
 */

#include <trace_buf.h>
#include <chron3.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <earthworm.h>
#include <transport.h>
#include <kom.h>

#define MAX_STR          255
#define MAXLINE          1000
#define MAX_NAME_LEN     50
#define MAXCOLS          100
#define MAXTXT           150
#define MAX_STATIONS     1024
#define LINE_LEN     	 500

typedef struct
{
    char    sta[TRACE2_STA_LEN];
    char    chan[TRACE2_CHAN_LEN];
    char    net[TRACE2_NET_LEN];
    char    loc[TRACE2_LOC_LEN];
    double  Sta_time;       /* Station trigger time as sec since 1600 */
    int     duration;
    int	    Id;
} STATRIG;

static int     Debug = 0;          /* 0=no debug msgs, non-zero=debug   */

#endif
