Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 642 Bytes
/* Copyright 2014 Tuomo Hartikainen <tth@harski.org>.
* Licensed under the 2-clause BSD license, see LICENSE for details. */
/* General output module. All output from procwait is intended to go through
* go() as go can then decide what to do to messages based on their GO_LVL and
* current GO_PRINT_LVL */
enum GO_LVL {
GO_INFO,
GO_MESS,
GO_ESS,
GO_WARN,
GO_ERR
};
enum GO_PRINT_LVL {
GO_QUIET,
GO_NORMAL,
GO_VERBOSE
};
/* output messages if GO_LVL is high enough compared to current GO_PRINT_LVL */
void go (const enum GO_LVL lvl, const char *fmt, ...);
/* set GO_PRINT_LVL */
void go_set_lvl (const enum GO_PRINT_LVL lvl);
You can’t perform that action at this time.