/* Copyright (c) 2000 RIPE NCC All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* ------------------------------------------------------------------------------- Module Header Filename : getargs.C Author : Rene Wilhelm Date : 17-NOV-2000 Description : Function prototype for getargs() Language Version : C++ OSs Tested : Solaris 2.6 $Id: getargs.h,v 1.5 2000/12/14 12:51:39 wilhelm Exp $ ------------------------------------------------------------------------------- */ void getargs(int argc, char *argv[], char* src, char* tgt, time_t& endtime, time_t& duration, double& mindelay, double& maxdelay, short& logscale, char** outfile, plotformat& fmt, short& allpackets); /* argc - # of command line arguments argv - command line argument vector src - string holding source box id (a number) tgt - string holding source box id (a number) endtime - timestamp of last requested measurement duration - timeperiod of requested measurements mindelay - minimum value for Y-axis in delay plots maxdelay - maximum value for Y-axis in delay plots logscale - whether or not to use logarithmic scale in delay plots outfile - pointer to string holding output directory name plotformat - format of output plots: gif , ps or eps allpackets - also include packets with BAD clock status in plots */