summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/x/xlib.h
blob: 68f4d3ec00e916e937ebd67056813948077fa712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_GFX_X_XLIB_H_
#define UI_GFX_X_XLIB_H_

extern "C" {
int XInitThreads(void);
struct _XDisplay* XOpenDisplay(const char*);
int XCloseDisplay(struct _XDisplay*);
int XFlush(struct _XDisplay*);
int XSynchronize(struct _XDisplay*, int);
int XSetErrorHandler(int (*)(void*, void*));
}

#endif  // UI_GFX_X_XLIB_H_