From b6b8c3f3de510420ecc8f05a5da757c48f70f189 Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 30 Jan 2007 19:24:11 +0000 Subject: [PATCH] two functions added to write simple run start/stop info to ascii file to be inserted to Oracle --- hadaq/evtbuild.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c index f811fdc..6fdec46 100644 --- a/hadaq/evtbuild.c +++ b/hadaq/evtbuild.c @@ -1,5 +1,5 @@ static char *rcsId = - "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.75 2007-01-25 16:08:20 hadaq Exp $"; + "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.76 2007-01-30 19:24:11 hadaq Exp $"; #define _POSIX_C_SOURCE 199309L @@ -574,6 +574,51 @@ statsDump (TheArgs * theArgs, TheStats * my, int interval) } +static void storeRunInfoStart(time_t t, TheArgs *myArgs) +{ + /* open ascii file eb_runinfo2ora.txt to store simple information for + the started RUN. The format: start