00001 /*************************************************************************** 00002 * aptcache.h 00003 * 00004 * Mon Nov 13 11:56:58 2006 00005 * Copyright 2006 Neil Williams 00006 * linux@codehelp.co.uk 00007 ****************************************************************************/ 00008 /* 00009 This package is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. 00021 */ 00022 00023 #ifndef _APTCACHE_H 00024 #define _APTCACHE_H 00025 00037 gboolean 00038 apt_init (const gchar * sourcelist, const gchar * suite_codename, gboolean verbose); 00039 00041 gint check_pkg_name (gconstpointer a, gconstpointer b); 00042 00044 gboolean aptcache_lookup (const gchar * pkg); 00045 00047 void lu_clear_caches (void); 00048 00050 gchar * lu_get_sourcepkg (const gchar * binary); 00051 00053 #endif /* _APTCACHE_H */
1.5.6