00001 #ifndef __SHOW_H__ 00002 #define __SHOW_H__ 00003 00004 /** 00005 * File Name : show.h 00006 * 00007 * Description: 00008 */ 00009 00010 /* 00011 * This file is part of erconftool. 00012 * 00013 * erconftool is free software: you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation, either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * erconftool is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00025 */ 00026 00027 /** 00028 * Copyright (C) 2008 iRex Technologies B.V. 00029 * All rights reserved. 00030 */ 00031 00032 00033 //---------------------------------------------------------------------------- 00034 // Include Files 00035 //---------------------------------------------------------------------------- 00036 00037 #include <glib.h> 00038 00039 G_BEGIN_DECLS 00040 00041 00042 //---------------------------------------------------------------------------- 00043 // Macro Definitions 00044 //---------------------------------------------------------------------------- 00045 00046 00047 //---------------------------------------------------------------------------- 00048 // Forward Declarations 00049 //---------------------------------------------------------------------------- 00050 00051 00052 //---------------------------------------------------------------------------- 00053 // Type Declarations 00054 //---------------------------------------------------------------------------- 00055 00056 00057 //---------------------------------------------------------------------------- 00058 // Global Constants 00059 //---------------------------------------------------------------------------- 00060 00061 00062 //============================================================================ 00063 // Public Functions 00064 //============================================================================ 00065 00066 /**--------------------------------------------------------------------------- 00067 * 00068 * Name : show_registry 00069 * 00070 * @brief Print all entries in and under given path, recursively 00071 * 00072 * @param client GConf client handle 00073 * @param paths Array of paths 00074 * 00075 * @return -- 00076 * 00077 *--------------------------------------------------------------------------*/ 00078 void show_registry(GConfClient *client, const char **paths); 00079 00080 /**--------------------------------------------------------------------------- 00081 * 00082 * Name : show_entry 00083 * 00084 * @brief Print a single entries 00085 * 00086 * @param client GConf client handle 00087 * @param entry GConf entry 00088 * 00089 * @return -- 00090 * 00091 *--------------------------------------------------------------------------*/ 00092 void show_entry(GConfClient *client, GConfEntry *entry); 00093 00094 00095 G_END_DECLS 00096 00097 #endif // __SHOW_H__