/******************************************************************************
 *  bwm-ng                                                                    *
 *                                                                            *
 *  Copyright (C) 2004 Volker Gropp (vgropp@pefra.de)                         *
 *                                                                            *
 *  for more info read README.                                                *
 *                                                                            *
 *  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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *
 *                                                                            *
 *****************************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <curses.h>
#include <getopt.h>
#include <limits.h>
#include <signal.h>
#include <string.h>

#define MAJOR 0
#define MINOR 4

#define CURSES_OUT 0
#define PLAIN_OUT 1
#define CSV_OUT 2
#define HTML_OUT 3

/* used for this nice spinning wheel */
#define IDLE_CHARS "-\\|/"

struct iface_stats {
    char    *if_name;
    unsigned long long rec;
    unsigned long long send;
    unsigned long long p_rec;
    unsigned long long p_send;
};

typedef struct iface_stats t_iface_stats;

#define print_version { printf("Bandwidth Monitor NG (bmw-ng) v%i.%i Copyright (C) 2004 Volker Gropp\n",MAJOR,MINOR); }

