/* ============================================================================ * Copyright (C) 2015, Martial Bornet * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * (C) Copyright Martial Bornet, 2015. * * Author : Martial BORNET (MB) - 3rd of January, 2015 * * Description : Private global variables * * File : cr_gpri.c * * @(#) cr_gpri.c 1.10 15/07/28 MB * * ============================================================================ */ #include "cr_epri.h" struct cr_global G = { 0 }; /* Error messages ~~~~~~~~~~~~~~ */ char *cr_err_malloc = "%s: cannot allocate memory !\n"; int cr_col_codes[8][3] = { { 88, 160, 196 }, { 28, 34, 46 }, { 100, 142, 226 }, { 18, 26, 38 }, { 90, 91, 134 }, { 61, 62, 81 }, { 245, 252, 255 }, { 0, 0, 0 } }; char *cr_best_fg[8][3] = { { "1;37", "1;37", "1;37" }, { "1;37", "1;37", "2;31" }, { "1;37", "2;30", "2;30" }, { "1;37", "1;37", "2;30" }, { "1;37", "1;37", "1;37" }, { "1;37", "1;37", "2;30" }, { "1;37", "2;30", "2;30" }, { 0, 0, 0 } };