libreport  2.9.5
A tool to inform users about various problems on the running system
global_configuration.h
1 /*
2  Copyright (C) 2015 ABRT team
3  Copyright (C) 2015 RedHat Inc
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 
20 #ifndef LIBREPORT_GLOBAL_CONFIGURATION_H
21 #define LIBREPORT_GLOBAL_CONFIGURATION_H
22 
23 #include "libreport_types.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #define load_global_configuration libreport_load_global_configuration
30 bool load_global_configuration(void);
31 
32 #define load_global_configuration_from_dirs libreport_load_global_configuration_from_dirs
33 bool load_global_configuration_from_dirs(const char *dirs[], int dir_flags[]);
34 
35 #define free_global_configuration libreport_free_global_configuration
36 void free_global_configuration(void);
37 
38 #define get_global_always_excluded_elements libreport_get_global_always_excluded_elements
39 string_vector_ptr_t get_global_always_excluded_elements(void);
40 
41 #define get_global_create_private_ticket libreport_get_global_create_private_ticket
42 bool get_global_create_private_ticket(void);
43 
53 #define set_global_create_private_ticket libreport_set_global_create_private_ticket
54 void set_global_create_private_ticket(bool enabled, int flags);
55 
66 #define get_global_stop_on_not_reportable libreport_get_global_stop_on_not_reportable
67 bool get_global_stop_on_not_reportable(void);
68 
81 #define set_global_stop_on_not_reportable libreport_set_global_stop_on_not_reportable
82 void set_global_stop_on_not_reportable(bool enabled, int flags);
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif /* LIBREPORT_GLOBAL_CONFIGURATION_H */