/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* http-cache.c - Property caching for DAV Copyright (C) 2000-2001 Eazel, Inc. The Gnome Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The Gnome Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the Gnome Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Authors: Michael Fleming */ #ifndef HTTP_CACHE_H #define HTTP_CACHE_H #include #include void http_cache_init (void); void http_cache_shutdown (void); void http_cache_trim (void); GnomeVFSFileInfo * http_cache_check (const gchar * uri_string); GnomeVFSFileInfo * http_cache_check_uri (GnomeVFSURI *uri); GnomeVFSFileInfo * http_cache_check_directory (const gchar * uri_string, GList **p_child_file_info_list); GnomeVFSFileInfo * http_cache_check_directory_uri (GnomeVFSURI *uri, GList **p_child_file_info_list); void http_cache_add_uri_and_children (GnomeVFSURI *uri, GnomeVFSFileInfo *file_info, GList *file_info_list); void http_cache_add_uri (GnomeVFSURI *uri, GnomeVFSFileInfo *file_info, gboolean is_dav); void http_cache_invalidate (const gchar *uri_string); void http_cache_invalidate_uri (GnomeVFSURI *uri); void http_cache_invalidate_entry_and_children (const gchar * uri_string); void http_cache_invalidate_uri_and_children (GnomeVFSURI *uri); void http_cache_invalidate_uri_parent (GnomeVFSURI *uri); #endif /* HTTP_CACHE_H */