libreport  2.1.3
A tool to inform users about various problems on the running system
config_item_info.h
00001 /*
00002     Copyright (C) 2011  ABRT team
00003     Copyright (C) 2010  RedHat Inc
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License along
00016     with this program; if not, write to the Free Software Foundation, Inc.,
00017     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018 */
00019 
00020 #ifndef LIBREPORT_CONFIG_ITEM_H
00021 #define LIBREPORT_CONFIG_ITEM_H
00022 
00023 typedef struct config_item_info config_item_info_t;
00024 
00025 config_item_info_t *new_config_info(const char *name);
00026 void free_config_info(config_item_info_t *info);
00027 
00028 void ci_set_screen_name(config_item_info_t *ci, const char *screen_name);
00029 void ci_set_description(config_item_info_t *ci, const char *description);
00030 void ci_set_long_desc(config_item_info_t *ci, const char *long_description);
00031 
00032 const char *ci_get_screen_name(config_item_info_t *ci);
00033 const char *ci_get_name(config_item_info_t *ci);
00034 const char *ci_get_description(config_item_info_t *ci);
00035 const char *ci_get_long_desc(config_item_info_t *ci);
00036 
00037 #endif