Loading src/nmxptool.c +9 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ * Istituto Nazionale di Geofisica e Vulcanologia - Italy * quintiliani@ingv.it * * $Id: nmxptool.c,v 1.70 2007-09-28 09:51:25 mtheo Exp $ * $Id: nmxptool.c,v 1.71 2007-09-28 12:57:21 mtheo Exp $ * */ Loading @@ -23,7 +23,10 @@ #include "config.h" #include "nmxptool_getoptlong.h" #ifdef HAVE_EARTHWORMOBJS #include "nmxptool_ew.h" #endif #ifdef HAVE_LIBMSEED #include <libmseed.h> Loading Loading @@ -630,6 +633,11 @@ int main (int argc, char **argv) { free(channelList_subset); } #ifdef HAVE_EARTHWORMOBJS tport_detach(®ionOut); logit("t","%s terminated\n", argv[0]); #endif return 0; } /* End MAIN */ Loading src/nmxptool_ew.c +5 −4 Original line number Diff line number Diff line Loading @@ -24,14 +24,10 @@ #include <kom.h> #include <transport.h> #include <trace_buf.h> #endif #include "nmxptool_ew.h" #ifdef HAVE_EARTHWORMOBJS #define MAXMESSAGELEN 160 /* Maximum length of a status or error */ /* message. */ #define MAXRINGNAMELEN 28 /* Maximum length of a ring name. */ Loading Loading @@ -63,6 +59,11 @@ int heartbeatInt; /* Heartbeat interval (seconds) */ int logSwitch; /* 1 -> write log, 0 -> no log */ /* 2 -> write module log but not stderr/stdout */ int nmxptool_nxm2ew(NMXP_DATA_PROCESS *pd) { int ret = 0; return ret; } #endif src/nmxptool_ew.h +11 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,17 @@ #ifndef NMXPTOOL_EW_H #define NMXPTOOL_EW_H 1 #include "nmxp.h" /* Earthworm includes */ #include <earthworm.h> #include <kom.h> #include <transport.h> #include <trace_buf.h> extern SHM_INFO regionOut; /* Shared memory region */ int nmxptool_nxm2ew(NMXP_DATA_PROCESS *pd); #endif Loading
src/nmxptool.c +9 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ * Istituto Nazionale di Geofisica e Vulcanologia - Italy * quintiliani@ingv.it * * $Id: nmxptool.c,v 1.70 2007-09-28 09:51:25 mtheo Exp $ * $Id: nmxptool.c,v 1.71 2007-09-28 12:57:21 mtheo Exp $ * */ Loading @@ -23,7 +23,10 @@ #include "config.h" #include "nmxptool_getoptlong.h" #ifdef HAVE_EARTHWORMOBJS #include "nmxptool_ew.h" #endif #ifdef HAVE_LIBMSEED #include <libmseed.h> Loading Loading @@ -630,6 +633,11 @@ int main (int argc, char **argv) { free(channelList_subset); } #ifdef HAVE_EARTHWORMOBJS tport_detach(®ionOut); logit("t","%s terminated\n", argv[0]); #endif return 0; } /* End MAIN */ Loading
src/nmxptool_ew.c +5 −4 Original line number Diff line number Diff line Loading @@ -24,14 +24,10 @@ #include <kom.h> #include <transport.h> #include <trace_buf.h> #endif #include "nmxptool_ew.h" #ifdef HAVE_EARTHWORMOBJS #define MAXMESSAGELEN 160 /* Maximum length of a status or error */ /* message. */ #define MAXRINGNAMELEN 28 /* Maximum length of a ring name. */ Loading Loading @@ -63,6 +59,11 @@ int heartbeatInt; /* Heartbeat interval (seconds) */ int logSwitch; /* 1 -> write log, 0 -> no log */ /* 2 -> write module log but not stderr/stdout */ int nmxptool_nxm2ew(NMXP_DATA_PROCESS *pd) { int ret = 0; return ret; } #endif
src/nmxptool_ew.h +11 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,17 @@ #ifndef NMXPTOOL_EW_H #define NMXPTOOL_EW_H 1 #include "nmxp.h" /* Earthworm includes */ #include <earthworm.h> #include <kom.h> #include <transport.h> #include <trace_buf.h> extern SHM_INFO regionOut; /* Shared memory region */ int nmxptool_nxm2ew(NMXP_DATA_PROCESS *pd); #endif