This is a 2nd part of series about changing flowtop layout to 1-row
view. This version is mostly a refactoring of flows refreshing to
make it more generic by using UI table API.
v3:
1) Fixed headers including
2) Fixed trailing tab in ui.c
3) Replaced panic(...) by bug_on(true) in ui table column lookup function.
4) Clear screen on init.
v2:
1) Add UI table widget with generic implementation for
print list items in table style. Add new UI module with
generic table API.
2) Add Linux-like list API used from liburcu but with redefinitions
to the Linux naming.
3) Get rid of clear & refresh screen each time while flows printing.
Vadim Kochan (6):
list: Add re-defined double-linked list API from liburcu
ui: Implement UI table for flows printing
flowtop: Use new UI table API for draw flows list
ui: Print empty rows when clear table
flowtop: Get rid of clear() & refresh() calls
flowtop: Simplify flows refresh delay
flowtop.c | 275 +++++++++++++++++++++++++++++--------------------------
flowtop/Makefile | 1 +
list.h | 39 ++++++++
ui.c | 153 +++++++++++++++++++++++++++++++
ui.h | 53 +++++++++++
5 files changed, 393 insertions(+), 128 deletions(-)
create mode 100644 list.h
create mode 100644 ui.c
create mode 100644 ui.h
--
2.6.3
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.