1 /* libcomps - C alternative to yum.comps library 2 * Copyright (C) 2013 Jindrich Luza 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * any later version. 8 * 9 * This program is distributed in the hope that it will be useful, but 10 * WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 * USA 18 */ 19 20 #ifndef COMPS_TYPES_H 21 #define COMPS_TYPES_H 22 23 #include <stdbool.h> 24 25 typedef struct COMPS_Log COMPS_Log; 26 typedef struct COMPS_LogEntry COMPS_LogEntry; 27 28 typedef struct COMPS_XMLOptions { 29 bool empty_groups; 30 bool empty_categories; 31 bool empty_environments; 32 bool empty_langpacks; 33 bool empty_blacklist; 34 bool empty_whiteout; 35 bool empty_packages; 36 bool empty_grouplist; 37 bool empty_optionlist; 38 bool biarchonly_explicit; 39 bool uservisible_explicit; 40 bool default_explicit; 41 bool gid_default_explicit; 42 bool bao_explicit; 43 bool arch_output; 44 } COMPS_XMLOptions; 45 46 extern COMPS_XMLOptions COMPS_XMLDefaultOptions; 47 48 #endif 49 50