wine/tsx11/ts_xresource.c
1999-02-04 10:51:35 +00:00

81 lines
2.1 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 "debug.h"
#include "x11drv.h"
XrmQuark TSXrmUniqueQuark(void)
{
XrmQuark r;
TRACE(x11, "Call XrmUniqueQuark\n");
EnterCriticalSection( &X11DRV_CritSection );
r = XrmUniqueQuark();
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XrmUniqueQuark\n");
return r;
}
int TSXrmGetResource(XrmDatabase a0, const char* a1, const char* a2, char** a3, XrmValue* a4)
{
int r;
TRACE(x11, "Call XrmGetResource\n");
EnterCriticalSection( &X11DRV_CritSection );
r = XrmGetResource(a0, a1, a2, a3, a4);
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XrmGetResource\n");
return r;
}
XrmDatabase TSXrmGetFileDatabase(const char* a0)
{
XrmDatabase r;
TRACE(x11, "Call XrmGetFileDatabase\n");
EnterCriticalSection( &X11DRV_CritSection );
r = XrmGetFileDatabase(a0);
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XrmGetFileDatabase\n");
return r;
}
XrmDatabase TSXrmGetStringDatabase(const char* a0)
{
XrmDatabase r;
TRACE(x11, "Call XrmGetStringDatabase\n");
EnterCriticalSection( &X11DRV_CritSection );
r = XrmGetStringDatabase(a0);
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XrmGetStringDatabase\n");
return r;
}
void TSXrmMergeDatabases(XrmDatabase a0, XrmDatabase* a1)
{
TRACE(x11, "Call XrmMergeDatabases\n");
EnterCriticalSection( &X11DRV_CritSection );
XrmMergeDatabases(a0, a1);
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XrmMergeDatabases\n");
}
void TSXrmParseCommand(XrmDatabase* a0, XrmOptionDescList a1, int a2, const char* a3, int* a4, char** a5)
{
TRACE(x11, "Call XrmParseCommand\n");
EnterCriticalSection( &X11DRV_CritSection );
XrmParseCommand(a0, a1, a2, a3, a4, a5);
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XrmParseCommand\n");
}
#endif /* !defined(X_DISPLAY_MISSING) */