2 * Thread safe wrappers around Xresource calls.
3 * This file was generated automatically by tools/make_X11wrappers
8 #include <X11/Xresource.h>
12 XrmQuark
TSXrmUniqueQuark(void)
15 TRACE(x11
, "Call XrmUniqueQuark\n");
16 EnterCriticalSection( &X11DRV_CritSection
);
18 LeaveCriticalSection( &X11DRV_CritSection
);
19 TRACE(x11
, "Ret XrmUniqueQuark\n");
23 int TSXrmGetResource(XrmDatabase a0
, const char* a1
, const char* a2
, char** a3
, XrmValue
* a4
)
26 TRACE(x11
, "Call XrmGetResource\n");
27 EnterCriticalSection( &X11DRV_CritSection
);
28 r
= XrmGetResource(a0
, a1
, a2
, a3
, a4
);
29 LeaveCriticalSection( &X11DRV_CritSection
);
30 TRACE(x11
, "Ret XrmGetResource\n");
34 XrmDatabase
TSXrmGetFileDatabase(const char* a0
)
37 TRACE(x11
, "Call XrmGetFileDatabase\n");
38 EnterCriticalSection( &X11DRV_CritSection
);
39 r
= XrmGetFileDatabase(a0
);
40 LeaveCriticalSection( &X11DRV_CritSection
);
41 TRACE(x11
, "Ret XrmGetFileDatabase\n");
45 XrmDatabase
TSXrmGetStringDatabase(const char* a0
)
48 TRACE(x11
, "Call XrmGetStringDatabase\n");
49 EnterCriticalSection( &X11DRV_CritSection
);
50 r
= XrmGetStringDatabase(a0
);
51 LeaveCriticalSection( &X11DRV_CritSection
);
52 TRACE(x11
, "Ret XrmGetStringDatabase\n");
56 void TSXrmMergeDatabases(XrmDatabase a0
, XrmDatabase
* a1
)
58 TRACE(x11
, "Call XrmMergeDatabases\n");
59 EnterCriticalSection( &X11DRV_CritSection
);
60 XrmMergeDatabases(a0
, a1
);
61 LeaveCriticalSection( &X11DRV_CritSection
);
62 TRACE(x11
, "Ret XrmMergeDatabases\n");
65 void TSXrmParseCommand(XrmDatabase
* a0
, XrmOptionDescList a1
, int a2
, const char* a3
, int* a4
, char** a5
)
67 TRACE(x11
, "Call XrmParseCommand\n");
68 EnterCriticalSection( &X11DRV_CritSection
);
69 XrmParseCommand(a0
, a1
, a2
, a3
, a4
, a5
);
70 LeaveCriticalSection( &X11DRV_CritSection
);
71 TRACE(x11
, "Ret XrmParseCommand\n");