0c69794138
These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
22 lines
596 B
C
22 lines
596 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "macro.h"
|
|
|
|
/* Manager status */
|
|
|
|
typedef enum ShowStatus {
|
|
_SHOW_STATUS_UNSET = -2,
|
|
SHOW_STATUS_AUTO = -1,
|
|
SHOW_STATUS_NO = 0,
|
|
SHOW_STATUS_YES = 1,
|
|
SHOW_STATUS_TEMPORARY = 2,
|
|
} 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);
|