diff options
author | marha <marha@users.sourceforge.net> | 2012-05-29 08:45:04 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-05-29 08:45:04 +0200 |
commit | ce592e25d6303a8f4a8aa0e2918e0f72a35bf175 (patch) | |
tree | 845b108f004259a6e4f72ade3dd5e0521ab3952b /fontconfig/src/fcint.h | |
parent | eef864d36de97903007f04fad9fa43afe297745b (diff) | |
download | vcxsrv-ce592e25d6303a8f4a8aa0e2918e0f72a35bf175.tar.gz vcxsrv-ce592e25d6303a8f4a8aa0e2918e0f72a35bf175.tar.bz2 vcxsrv-ce592e25d6303a8f4a8aa0e2918e0f72a35bf175.zip |
fontconfig libX11 mesa pixman xserver git update 29 May 2012
Diffstat (limited to 'fontconfig/src/fcint.h')
-rw-r--r-- | fontconfig/src/fcint.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/fontconfig/src/fcint.h b/fontconfig/src/fcint.h index ad9db8aa4..3d06fc6eb 100644 --- a/fontconfig/src/fcint.h +++ b/fontconfig/src/fcint.h @@ -358,7 +358,7 @@ struct _FcCache { intptr_t dirs; /* offset to subdirs */ int dirs_count; /* number of subdir strings */ intptr_t set; /* offset to font set */ - int mtime; /* low bits of directory mtime */ + int checksum; /* checksum of directory state */ }; #undef FcCacheDir @@ -539,6 +539,13 @@ struct _FcRange { FcChar32 end; }; +typedef struct _FcStatFS FcStatFS; + +struct _FcStatFS { + FcBool is_remote_fs; + FcBool is_mtime_broken; +}; + /* fcblanks.c */ /* fccache.c */ @@ -567,9 +574,6 @@ FcCacheFini (void); FcPrivate void FcDirCacheReference (FcCache *cache, int nref); -FcPrivate int -FcStat (const FcChar8 *file, struct stat *statb); - /* fccfg.c */ FcPrivate FcChar8 * @@ -1020,6 +1024,20 @@ extern FcPrivate const FcMatrix FcIdentityMatrix; FcPrivate void FcMatrixFree (FcMatrix *mat); +/* fcstat.c */ + +FcPrivate int +FcStat (const FcChar8 *file, struct stat *statb); + +FcPrivate int +FcStatChecksum (const FcChar8 *file, struct stat *statb); + +FcPrivate FcBool +FcIsFsMmapSafe (int fd); + +FcPrivate FcBool +FcIsFsMtimeBroken (const FcChar8 *dir); + /* fcstr.c */ FcPrivate void FcStrSetSort (FcStrSet * set); |