|
Packit |
032894 |
/* Handling of color output.
|
|
Packit |
032894 |
Copyright (C) 2017 The Qt Company
|
|
Packit |
032894 |
This file is part of elfutils.
|
|
Packit |
032894 |
Written by Ulrich Drepper <drepper@redhat.com>, 2011.
|
|
Packit |
032894 |
|
|
Packit |
032894 |
This file is free software; you can redistribute it and/or modify
|
|
Packit |
032894 |
it under the terms of either
|
|
Packit |
032894 |
|
|
Packit |
032894 |
* the GNU Lesser General Public License as published by the Free
|
|
Packit |
032894 |
Software Foundation; either version 3 of the License, or (at
|
|
Packit |
032894 |
your option) any later version
|
|
Packit |
032894 |
|
|
Packit |
032894 |
or
|
|
Packit |
032894 |
|
|
Packit |
032894 |
* the GNU General Public License as published by the Free
|
|
Packit |
032894 |
Software Foundation; either version 2 of the License, or (at
|
|
Packit |
032894 |
your option) any later version
|
|
Packit |
032894 |
|
|
Packit |
032894 |
or both in parallel, as here.
|
|
Packit |
032894 |
|
|
Packit |
032894 |
elfutils is distributed in the hope that it will be useful, but
|
|
Packit |
032894 |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
032894 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
032894 |
General Public License for more details.
|
|
Packit |
032894 |
|
|
Packit |
032894 |
You should have received copies of the GNU General Public License and
|
|
Packit |
032894 |
the GNU Lesser General Public License along with this program. If
|
|
Packit |
032894 |
not, see <http://www.gnu.org/licenses/>. */
|
|
Packit |
032894 |
|
|
Packit |
032894 |
|
|
Packit |
032894 |
#ifndef COLOR_H
|
|
Packit |
032894 |
#define COLOR_H 1
|
|
Packit |
032894 |
|
|
Packit |
032894 |
/* Command line parser. */
|
|
Packit |
032894 |
extern const struct argp color_argp;
|
|
Packit |
032894 |
|
|
Packit |
032894 |
/* Coloring mode. */
|
|
Packit |
032894 |
enum color_enum
|
|
Packit |
032894 |
{
|
|
Packit |
032894 |
color_never = 0,
|
|
Packit |
032894 |
color_always,
|
|
Packit |
032894 |
color_auto
|
|
Packit |
032894 |
} __attribute__ ((packed));
|
|
Packit |
032894 |
extern enum color_enum color_mode;
|
|
Packit |
032894 |
|
|
Packit |
032894 |
/* Colors to use for the various components. */
|
|
Packit |
032894 |
extern char *color_address;
|
|
Packit |
032894 |
extern char *color_bytes;
|
|
Packit |
032894 |
extern char *color_mnemonic;
|
|
Packit |
032894 |
extern char *color_operand1;
|
|
Packit |
032894 |
extern char *color_operand2;
|
|
Packit |
032894 |
extern char *color_operand3;
|
|
Packit |
032894 |
extern char *color_operand4;
|
|
Packit |
032894 |
extern char *color_operand5;
|
|
Packit |
032894 |
extern char *color_label;
|
|
Packit |
032894 |
extern char *color_undef;
|
|
Packit |
032894 |
extern char *color_undef_tls;
|
|
Packit |
032894 |
extern char *color_undef_weak;
|
|
Packit |
032894 |
extern char *color_symbol;
|
|
Packit |
032894 |
extern char *color_tls;
|
|
Packit |
032894 |
extern char *color_weak;
|
|
Packit |
032894 |
|
|
Packit |
032894 |
extern const char color_off[];
|
|
Packit |
032894 |
|
|
Packit |
032894 |
#endif /* color.h */
|