]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcint.h
fc-cache: add a --root option
[fontconfig.git] / src / fcint.h
index 83a7a435be4984b27e3de80cc5599e602cca966f..0fcb7883daf3c4b5cc0650d43eff04f0a3c05934 100644 (file)
 
 #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 *