2 * Thread safe wrappers around Xresource calls.
3 * This file was generated automatically by tools/make_X11wrappers
9 #ifndef X_DISPLAY_MISSING
13 #include <X11/Xresource.h>
17 XrmQuark
TSXrmUniqueQuark(void)
20 TRACE(x11
, "Call XrmUniqueQuark\n");
21 EnterCriticalSection( &X11DRV_CritSection
);
23 LeaveCriticalSection( &X11DRV_CritSection
);
24 TRACE(x11
, "Ret XrmUniqueQuark\n");
28 int TSXrmGetResource(XrmDatabase a0
, const char* a1
, const char* a2
, char** a3
, XrmValue
* a4
)
31 TRACE(x11
, "Call XrmGetResource\n");
32 EnterCriticalSection( &X11DRV_CritSection
);
33 r
= XrmGetResource(a0
, a1
, a2
, a3
, a4
);
34 LeaveCriticalSection( &X11DRV_CritSection
);
35 TRACE(x11
, "Ret XrmGetResource\n");
39 XrmDatabase
TSXrmGetFileDatabase(const char* a0
)
42 TRACE(x11
, "Call XrmGetFileDatabase\n");
43 EnterCriticalSection( &X11DRV_CritSection
);
44 r
= XrmGetFileDatabase(a0
);
45 LeaveCriticalSection( &X11DRV_CritSection
);
46 TRACE(x11
, "Ret XrmGetFileDatabase\n");
50 XrmDatabase
TSXrmGetStringDatabase(const char* a0
)
53 TRACE(x11
, "Call XrmGetStringDatabase\n");
54 EnterCriticalSection( &X11DRV_CritSection
);
55 r
= XrmGetStringDatabase(a0
);
56 LeaveCriticalSection( &X11DRV_CritSection
);
57 TRACE(x11
, "Ret XrmGetStringDatabase\n");
61 void TSXrmMergeDatabases(XrmDatabase a0
, XrmDatabase
* a1
)
63 TRACE(x11
, "Call XrmMergeDatabases\n");
64 EnterCriticalSection( &X11DRV_CritSection
);
65 XrmMergeDatabases(a0
, a1
);
66 LeaveCriticalSection( &X11DRV_CritSection
);
67 TRACE(x11
, "Ret XrmMergeDatabases\n");
70 void TSXrmParseCommand(XrmDatabase
* a0
, XrmOptionDescList a1
, int a2
, const char* a3
, int* a4
, char** a5
)
72 TRACE(x11
, "Call XrmParseCommand\n");
73 EnterCriticalSection( &X11DRV_CritSection
);
74 XrmParseCommand(a0
, a1
, a2
, a3
, a4
, a5
);
75 LeaveCriticalSection( &X11DRV_CritSection
);
76 TRACE(x11
, "Ret XrmParseCommand\n");
80 #endif /* !defined(X_DISPLAY_MISSING) */