diff options
author | pdw <> | 2002-10-25 09:06:19 +0000 |
---|---|---|
committer | pdw <> | 2002-10-25 09:06:19 +0000 |
commit | f46898753e916988a68b4786dcd180b1e2e685df (patch) | |
tree | e062924821882e39dbc003fad2fba01093fc8f8e /options.h | |
parent | ba7202d03b9acb2c4f92397d142b69c362f1cee9 (diff) | |
download | iftop-f46898753e916988a68b4786dcd180b1e2e685df.zip |
User selectable sort criteria.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -18,6 +18,14 @@ typedef enum { OPTION_PORTS_ON } option_port_t; +typedef enum { + OPTION_SORT_DIV1, + OPTION_SORT_DIV2, + OPTION_SORT_DIV3, + OPTION_SORT_SRC, + OPTION_SORT_DEST +} option_sort_t; + typedef struct { /* interface on which to listen */ char *interface; @@ -39,6 +47,7 @@ typedef struct { int paused; int showhelp; int bandwidth_in_bytes; + option_sort_t sort; } options_t; |