mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
83 lines
2.0 KiB
C
83 lines
2.0 KiB
C
/*
|
|
* Thread safe wrappers around Xresource calls.
|
|
* This file was generated automatically by tools/make_X11wrappers
|
|
* DO NOT EDIT!
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#ifndef X_DISPLAY_MISSING
|
|
|
|
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xresource.h>
|
|
#include "debugtools.h"
|
|
#include "x11drv.h"
|
|
|
|
DEFAULT_DEBUG_CHANNEL(x11)
|
|
|
|
XrmQuark TSXrmUniqueQuark(void)
|
|
{
|
|
XrmQuark r;
|
|
TRACE("Call XrmUniqueQuark\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XrmUniqueQuark();
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE("Ret XrmUniqueQuark\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXrmGetResource(XrmDatabase a0, const char* a1, const char* a2, char** a3, XrmValue* a4)
|
|
{
|
|
int r;
|
|
TRACE("Call XrmGetResource\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XrmGetResource(a0, a1, a2, a3, a4);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE("Ret XrmGetResource\n");
|
|
return r;
|
|
}
|
|
|
|
XrmDatabase TSXrmGetFileDatabase(const char* a0)
|
|
{
|
|
XrmDatabase r;
|
|
TRACE("Call XrmGetFileDatabase\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XrmGetFileDatabase(a0);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE("Ret XrmGetFileDatabase\n");
|
|
return r;
|
|
}
|
|
|
|
XrmDatabase TSXrmGetStringDatabase(const char* a0)
|
|
{
|
|
XrmDatabase r;
|
|
TRACE("Call XrmGetStringDatabase\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XrmGetStringDatabase(a0);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE("Ret XrmGetStringDatabase\n");
|
|
return r;
|
|
}
|
|
|
|
void TSXrmMergeDatabases(XrmDatabase a0, XrmDatabase* a1)
|
|
{
|
|
TRACE("Call XrmMergeDatabases\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
XrmMergeDatabases(a0, a1);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE("Ret XrmMergeDatabases\n");
|
|
}
|
|
|
|
void TSXrmParseCommand(XrmDatabase* a0, XrmOptionDescList a1, int a2, const char* a3, int* a4, char** a5)
|
|
{
|
|
TRACE("Call XrmParseCommand\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
XrmParseCommand(a0, a1, a2, a3, a4, a5);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE("Ret XrmParseCommand\n");
|
|
}
|
|
|
|
|
|
#endif /* !defined(X_DISPLAY_MISSING) */
|