1998-10-17 00:00:00 +00:00
|
|
|
/*
|
|
|
|
mtr -- a network diagnostic tool
|
|
|
|
Copyright (C) 1997,1998 Matt Kimball
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
|
|
|
|
1999-04-03 00:00:00 +00:00
|
|
|
enum { ActionNone, ActionQuit, ActionReset, ActionDisplay, ActionClear,
|
2002-01-24 00:00:00 +00:00
|
|
|
ActionPause, ActionResume, ActionDNS };
|
1998-10-28 00:00:00 +00:00
|
|
|
enum { DisplayReport, DisplayCurses, DisplayGTK, DisplaySplit, DisplayRaw };
|
1998-10-17 00:00:00 +00:00
|
|
|
|
|
|
|
/* Prototypes for display.c */
|
|
|
|
void display_detect(int *argc, char ***argv);
|
|
|
|
void display_open();
|
|
|
|
void display_close();
|
|
|
|
void display_redraw();
|
1998-10-28 00:00:00 +00:00
|
|
|
void display_rawping(int hostnum, int msec);
|
|
|
|
void display_rawhost(int hostnum, int ip_addr);
|
1998-10-17 00:00:00 +00:00
|
|
|
int display_keyaction();
|
|
|
|
void display_loop();
|
1999-03-03 00:00:00 +00:00
|
|
|
void display_clear();
|
|
|
|
|
2000-03-04 00:00:00 +00:00
|
|
|
extern int display_mode;
|
2002-01-24 00:00:00 +00:00
|
|
|
extern int use_dns;
|
|
|
|
extern int dns;
|