]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcint.h
With no args, fc-cat now dumps all directories.
[fontconfig.git] / src / fcint.h
index 651ca6627a0e9632ae03e61312aceb03a89ae5fa..73d93315fb1e1ced8429367d062cd7c2376057af 100644 (file)
@@ -308,7 +308,7 @@ typedef struct _FcStrBuf {
 
 typedef struct _FcCache {
     int                magic;              /* FC_CACHE_MAGIC */
-    off_t      size;               /* size of file */
+    intptr_t   size;               /* size of file */
     intptr_t   dir;                /* offset to dir name */
     intptr_t   dirs;               /* offset to subdirs */
     int                dirs_count;         /* number of subdir strings */
@@ -507,11 +507,11 @@ FcBool
 FcDirCacheRead (FcFontSet * set, FcStrSet * dirs, const FcChar8 *dir, FcConfig *config);
  
 FcCache *
-FcDirCacheMap (const FcChar8 *dir, FcConfig *config);
+FcDirCacheMap (const FcChar8 *dir, FcConfig *config, FcChar8 **cache_file);
     
 FcBool
 FcDirCacheLoad (int fd, off_t size, void *closure);
-
+    
 /* fccfg.c */
 
 FcBool