- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# xcbxlib.h

    00001 /*
    00002  * Copyright (C) 2005 Bart Massey and Jamey Sharp.
    00003  * All Rights Reserved.
    00004  *
    00005  * Permission is hereby granted, free of charge, to any person obtaining a
    00006  * copy of this software and associated documentation files (the "Software"),
    00007  * to deal in the Software without restriction, including without limitation
    00008  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
    00009  * and/or sell copies of the Software, and to permit persons to whom the
    00010  * Software is furnished to do so, subject to the following conditions:
    00011  *
    00012  * The above copyright notice and this permission notice shall be included in
    00013  * all copies or substantial portions of the Software.
    00014  *
    00015  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    00016  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    00017  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    00018  * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
    00019  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    00020  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    00021  *
    00022  * Except as contained in this notice, the names of the authors or their
    00023  * institutions shall not be used in advertising or otherwise to promote the
    00024  * sale, use or other dealings in this Software without prior written
    00025  * authorization from the authors.
    00026  */
    00027
    00028 /* This include file declares functions used by Xlib/XCB, but nothing else
    00029  * should ever use these functions or link to libxcb-xlib. */
    00030
    00031 #ifndef __XCBXLIB_H
    00032 #define __XCBXLIB_H
    00033
    00034 #include <pthread.h>
    00035 #include "xcb.h"
    00036
    00037 /* The caller of this function must hold the xlib lock, using the lock
    00038  * functions below. */
    00039 unsigned int xcb_get_request_sent(xcb_connection_t *c);
    00040
    00041 void xcb_xlib_lock(xcb_connection_t *c);
    00042 void xcb_xlib_unlock(xcb_connection_t *c);
    00043
    00044 #endif