]> git.wh0rd.org - fontconfig.git/blobdiff - fontconfig/fontconfig.h
Rework cache files to use offsets for all data structures.
[fontconfig.git] / fontconfig / fontconfig.h
index 2ddd42fa2982ddf2d6f7035ebd95365d40117828..410da1ec4c842e23a5a9fdc362336b59183820cc 100644 (file)
@@ -212,17 +212,14 @@ typedef struct _FcValue {
     FcType     type;
     union {
        const FcChar8  *s;
-       int             s_off;
        int             i;
        FcBool          b;
        double          d;
        const FcMatrix  *m;
        const FcCharSet *c;
-       int             c_off;
        void            *f;
        const FcPattern *p;
        const FcLangSet *l;
-       int             l_off; /* this is a difference of char *s */
     } u;
 } FcValue;
 
@@ -276,10 +273,10 @@ typedef struct _FcStrSet    FcStrSet;
 _FCFUNCPROTOBEGIN
 
 FcBool
-FcDirCacheValid (const FcChar8 *cache_file);
+FcDirCacheValid (const FcChar8 *cache_file, FcConfig *config);
 
 FcBool
-FcDirCacheHasCurrentArch (const FcChar8 *dir);
+FcDirCacheHasCurrentArch (const FcChar8 *dir, FcConfig *config);
 
 FcBool
 FcDirCacheUnlink (const FcChar8 *dir, FcConfig *config);