~ubuntu-branches/ubuntu/quantal/gconf/quantal

« back to all changes in this revision

Viewing changes to backends/xml-cache.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2007-11-01 18:47:26 UTC
  • mto: (7.1.1 lenny) (1.2.1) (76.1.1 oneiric-proposed)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20071101184726-e3e4cxfcp41tz6ui
Tags: upstream-2.20.1
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
typedef struct _Cache Cache;
28
28
 
29
 
Cache*   cache_new        (const gchar  *root_dir,
30
 
                           guint dir_mode,
31
 
                           guint file_mode);
32
 
void     cache_destroy    (Cache        *cache);
 
29
Cache*   cache_get        (const gchar  *root_dir,
 
30
                           guint         dir_mode,
 
31
                           guint         file_mode);
 
32
void     cache_unref      (Cache        *cache);
33
33
gboolean cache_sync       (Cache        *cache,
34
 
                           GError  **err);
 
34
                           GError      **err);
35
35
void     cache_clean      (Cache        *cache,
36
36
                           GTime         older_than);
37
 
void     cache_delete_dir (Cache        *cache,
38
 
                           const gchar  *key,
39
 
                           GError  **err);
40
37
Dir*     cache_lookup     (Cache        *cache,
41
38
                           const gchar  *key,
42
 
                           gboolean create_if_missing,
43
 
                           GError  **err); 
 
39
                           gboolean      create_if_missing,
 
40
                           GError      **err);
 
41
 
 
42
void xml_test_cache (void);
44
43
 
45
44
#endif
 
45