diff options
author | Matthias Hopf <mhopf@suse.de> | 2006-06-09 18:24:02 +0200 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2006-06-16 16:31:37 +0200 |
commit | 9354351fcb8baeaab85250d14409cfb4fa50f3e9 (patch) | |
tree | ddfd39a3adb0738b6d9bbccfc34e2ccc09bdf0bd /include | |
parent | b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 (diff) |
Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure.
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/Xlibint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/X11/Xlibint.h b/include/X11/Xlibint.h index 00e6e5d8..a3e3ebfb 100644 --- a/include/X11/Xlibint.h +++ b/include/X11/Xlibint.h @@ -1264,6 +1264,12 @@ extern int _XOpenFile( int /* flags */ ); +extern int _XOpenFileMode( + _Xconst char* /* path */, + int /* flags */, + mode_t /* mode */ +); + extern void* _XFopenFile( _Xconst char* /* path */, _Xconst char* /* mode */ @@ -1274,6 +1280,7 @@ extern int _XAccessFile( ); #else #define _XOpenFile(path,flags) open(path,flags) +#define _XOpenFileMode(path,flags,mode) open(path,flags,mode) #define _XFopenFile(path,mode) fopen(path,mode) #endif |