Go to the source code of this file.
Defines | |
| #define | PrintLog(...) __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__) |
| #define | PrintError(...) __printerror(__FILE__,__func__,__LINE__,__VA_ARGS__) |
| #define | PrintWarning(...) __printwarning(__FILE__,__func__,__LINE__,__VA_ARGS__) |
| #define | MallocError() __printerror(__FILE__,__func__,__LINE__,"malloc error\n") |
| #define | PrintDebug(...) if (VERBOSE>1) { __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__); } |
Functions | |
| void | __printlog (char *file_name, const char *funcname, int N, const char *format,...) |
| void | __printerror (char *file_name, const char *funcname, int N, const char *format,...) |
| void | __printwarning (char *file_name, const char *funcname, int N, const char *format,...) |
| #define MallocError | ( | ) | __printerror(__FILE__,__func__,__LINE__,"malloc error\n") |
| #define PrintDebug | ( | ... | ) | if (VERBOSE>1) { __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__); } |
Definition at line 20 of file util.h.
Referenced by AbortAscFile(), AbortBinFile(), AbortMSeedFile(), AbortSacFile(), AbortSeg2File(), AbortSegyFile(), AbortWavFile(), CheckContinuity(), CloseCacheFile(), CloseMSeedInt32File(), EndSuperFrame(), ExitFunction(), GetFrame(), GetInterpolatedShift(), InitCache(), InitInfoHeader(), NextFile(), OpenCacheFileRead(), OpenCacheFileWrite(), OpenTimeFile(), ParseMergeTriggerOptions(), ParseOifOptions(), ParseSeedOptions(), ParseTriggerOptions(), PrintStation(), ProcessAux1Frame(), ProcessDataFrame(), ProcessOffsetFrame(), ProcessTimeFrame(), ReadField(), ReadSensorList(), ReadShortInfos(), ResetInput(), SeekTime(), SelectMatch(), SequentialSeek(), SortCacheFile(), Stream2Channel(), TDBInit(), TDBUpdateHeader(), and TimeFrameCallBack().
| #define PrintError | ( | ... | ) | __printerror(__FILE__,__func__,__LINE__,__VA_ARGS__) |
Definition at line 10 of file util.h.
Referenced by AddAscData(), AddBinData(), AddGifData(), AddSacData(), AddSeg2Data(), AddSegyData(), AddSisData(), ChannelName(), CheckAlerts(), CheckContinuity(), CheckDiffConfig(), CheckStaLtaBounds(), CloseMSeedSteim1File(), CloseSeg2File(), CloseSisFile(), CloseWavFile(), CutDataFile(), DumpGpsMap(), DumpTile(), DumpTriggerEvents(), EmergencyExit(), FillDtCache(), FilterDelayTime(), GetInterpolatedShift(), InitEventList(), InitInfoHeader(), ListToMask(), MergeTriggers(), NextFile(), NextWindow(), OpenAscChannel(), OpenBinChannel(), OpenMSeedChannel(), OpenSacChannel(), OpenSeg2Channel(), OpenSegyChannel(), OpenTimeFile(), OpenWavChannel(), ParseEvent(), ParseMergeTriggerOptions(), ParseOifOptions(), ParseOptions(), ParseSeedOptions(), ParseTriggerOptions(), ProcessDataFrame(), ProcessMiscFrame(), ProcessOffsetFrame(), ProcessOIF(), ProcessTimeFrame(), PulseFilter(), ReadDtLine(), ReadField(), ReadIndex(), ReadOEF(), ReadOIF(), ReadSize(), Rename(), sac2unix(), SendFile(), SequentialSeek(), str2time(), strJ2time(), TDBAbortParsing(), TDBInit(), TDBPath(), TDBUpdateHeader(), unix2sac(), and UpdateInfoHeader().
| #define PrintLog | ( | ... | ) | __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__) |
Definition at line 6 of file util.h.
Referenced by AddSacData(), CheckDiffConfig(), CloseAscFile(), CloseBinFile(), CloseMSeedInt32File(), CloseMSeedSteim1File(), CloseSacFile(), CloseSegyFile(), CloseSisFile(), CloseTitFile(), CloseWavFile(), CutDataFile(), EndSuperFrame(), FillDtCache(), GetFrame(), InitInfoHeader(), MainCleanUp(), NextWindow(), OpenCacheFileRead(), OpenFullSeg2(), ParseEvent(), ProcessMiscFrame(), ReadSensorList(), ReadSize(), ResetInput(), SeekTime(), TDBInit(), and UpdateIndex().
| #define PrintWarning | ( | ... | ) | __printwarning(__FILE__,__func__,__LINE__,__VA_ARGS__) |
Definition at line 15 of file util.h.
Referenced by AddMSeedDataInt32(), AddMSeedDataSteim1(), CheckContinuity(), CheckSoftwareRelease(), CheckVersion(), CloseMSeedInt32File(), CloseMSeedSteim1File(), CorrectTime(), EndSuperFrame(), FileName(), FixBuggyMykerinos(), GetFrameSkip(), MainCleanUp(), OpenCacheFileRead(), ParseOptions(), ProcessDataFrame(), ProcessMiscFrame(), and PulseFilter().
| void __printerror | ( | char * | file_name, | |
| const char * | funcname, | |||
| int | N, | |||
| const char * | format, | |||
| ... | ||||
| ) |
| void __printlog | ( | char * | file_name, | |
| const char * | funcname, | |||
| int | N, | |||
| const char * | format, | |||
| ... | ||||
| ) |
| void __printwarning | ( | char * | file_name, | |
| const char * | funcname, | |||
| int | N, | |||
| const char * | format, | |||
| ... | ||||
| ) |
1.5.6