dsynth - Abstract the run-status infrastructure

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 27 August 2019 05:31 EDT

- Abstract the run-status infrastructure and add skeletons for html and a 'dsynth monitor' style monitor.

Neither is implemented yet but this moves most of the hard work out of gui.c (and renames it to ncurses.c) so it doesn't have to be replicated for the other two.

ea37671df3 dsynth - Abstract the run-status infrastructure
usr.bin/dsynth/Makefile | 3 +-
usr.bin/dsynth/build.c | 30 +++---
usr.bin/dsynth/dsynth.h | 49 ++++++++--
usr.bin/dsynth/html.c | 82 ++++++++++++++++
usr.bin/dsynth/monitor.c | 82 ++++++++++++++++
usr.bin/dsynth/{gui.c => ncurses.c} | 146 +++++++++-------------------
usr.bin/dsynth/runstats.c | 188 ++++++++++++++++++++++++++++++++++++
7 files changed, 457 insertions(+), 123 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share