diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 22:34:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:56 +0100 |
commit | b8faf2ecd551d853c449c7cadc3944af84156bc9 (patch) | |
tree | e732e26b6793edd0616f3c047794da26ef894255 /src/core/show-status.h | |
parent | 8b43440b7ef4b81c69c31de7ff820dc07a780254 (diff) |
util-lib: move status printing stuff into src/core/
It's very specific to the core, and not used elsewhere, hence move it
out of terminal-util.[ch].
Diffstat (limited to 'src/core/show-status.h')
-rw-r--r-- | src/core/show-status.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/show-status.h b/src/core/show-status.h index a2b2153746..c79d4acb66 100644 --- a/src/core/show-status.h +++ b/src/core/show-status.h @@ -21,6 +21,10 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <stdbool.h> + +#include "macro.h" + /* Manager status */ typedef enum ShowStatus { @@ -32,3 +36,6 @@ typedef enum ShowStatus { } ShowStatus; int parse_show_status(const char *v, ShowStatus *ret); + +int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) _printf_(4,0); +int status_printf(const char *status, bool ellipse, bool ephemeral, const char *format, ...) _printf_(4,5); |