libreport 2.13.1
A tool to inform users about various problems on the running system
config_item_info.h
1/*
2 Copyright (C) 2011 ABRT team
3 Copyright (C) 2010 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_CONFIG_ITEM_H
21#define LIBREPORT_CONFIG_ITEM_H
22
23typedef struct config_item_info config_item_info_t;
24
25config_item_info_t *new_config_info(const char *name);
26void free_config_info(config_item_info_t *info);
27
28void ci_set_screen_name(config_item_info_t *ci, const char *screen_name);
29void ci_set_description(config_item_info_t *ci, const char *description);
30void ci_set_long_desc(config_item_info_t *ci, const char *long_description);
31
32const char *ci_get_screen_name(config_item_info_t *ci);
33const char *ci_get_name(config_item_info_t *ci);
34const char *ci_get_description(config_item_info_t *ci);
35const char *ci_get_long_desc(config_item_info_t *ci);
36
37#endif