X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffcint.h;h=a05421955fd065da4fb93113893e92d2579865e5;hb=9e612141df7e693ef98071f102cecb5d777ceecb;hp=6cdb7cb51903f40b35d893bacf0561b9527a92da;hpb=4984242e3681a50a9c19f352783f145f91ecb868;p=fontconfig.git diff --git a/src/fcint.h b/src/fcint.h index 6cdb7cb..a054219 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -419,11 +419,6 @@ struct _FcBlanks { FcChar32 *blanks; }; -typedef struct _FcCacheList { - struct _FcCacheList *next; - FcCache *cache; -} FcCacheList; - struct _FcConfig { /* * File names loaded from the configuration -- saved here as the @@ -474,11 +469,6 @@ struct _FcConfig { * match preferrentially */ FcFontSet *fonts[FcSetApplication + 1]; - /* - * Font cache information is mapped from cache files - * the configuration is destroyed, the files need to be unmapped - */ - FcCacheList *caches; /* * Fontconfig can periodically rescan the system configuration * and font directories. This rescanning occurs when font @@ -514,6 +504,15 @@ FcDirCacheBuild (FcFontSet *set, const FcChar8 *dir, FcStrSet *dirs); FcPrivate FcBool FcDirCacheWrite (FcCache *cache, FcConfig *config); +FcPrivate void +FcCacheObjectReference (void *object); + +FcPrivate void +FcCacheObjectDereference (void *object); + +FcPrivate void +FcCacheFini (void); + /* fccfg.c */ FcPrivate FcBool