X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffcint.h;h=0fcb7883daf3c4b5cc0650d43eff04f0a3c05934;hb=d0471dd2faca37f7ee5997ad9db8278db0e99206;hp=83a7a435be4984b27e3de80cc5599e602cca966f;hpb=c21fb9ac27ca89f3b581c58b1a08372f8273a262;p=fontconfig.git diff --git a/src/fcint.h b/src/fcint.h index 83a7a43..0fcb788 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -56,8 +56,10 @@ #ifdef _WIN32 #define FC_SEARCH_PATH_SEPARATOR ';' +#define FC_DIR_SEPARATOR '\\' #else #define FC_SEARCH_PATH_SEPARATOR ':' +#define FC_DIR_SEPARATOR '/' #endif #define FC_DBG_MATCH 1 @@ -440,6 +442,10 @@ struct _FcBlanks { }; struct _FcConfig { + /* + * The root directory to read config/font/cache/etc... files + */ + FcChar8 *rootDir; /* * File names loaded from the configuration -- saved here as the * cache file must be consulted before the directories are scanned, @@ -544,9 +550,6 @@ FcCacheFini (void); FcPrivate void FcDirCacheReference (FcCache *cache, int nref); -FcPrivate int -FcStat (const char *file, struct stat *statb); - /* fccfg.c */ FcPrivate FcExpr *