/usr/include/geis/geisimpl.h is in libgeis-dev 2.2.16-1+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | /**
* geisimpl.h
*
* Copyright 2010 Canonical Ltd.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of version 3 of the GNU Lesser General Public License as published
* by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef LIBGEIS_XCB_GEISIMPL_H_
#define LIBGEIS_XCB_GEISIMPL_H_
#include <stdint.h>
#include <stdlib.h>
/* Provide some cross-platform symbol export decorations. */
#if defined _WIN32 || defined __CYGWIN__
#define GEIS_HELPER_DSO_IMPORT __declspec(dllimport)
#define GEIS_HELPER_DSO_EXPORT __declspec(dllexport)
#define GEIS_HELPER_DSO_LOCAL
#else
#if __GNUC__ >= 4
#define GEIS_HELPER_DSO_IMPORT __attribute__ ((visibility("default")))
#define GEIS_HELPER_DSO_EXPORT __attribute__ ((visibility("default")))
#define GEIS_HELPER_DSO_LOCAL __attribute__ ((visibility("hidden")))
#else
#define GEIS_HELPER_DSO_IMPORT
#define GEIS_HELPER_DSO_EXPORT
#define GEIS_HELPER_DSO_LOCAL
#endif
#endif
#ifdef GEIS_BUILDING_DSO
#ifdef GEIS_DSO_EXPORTS
#define GEIS_API GEIS_HELPER_DSO_EXPORT
#else
#define GEIS_API GEIS_HELPER_DSO_IMPORT
#endif /* GEIS_DSO_EXPORTS */
#define GEIS_LOCAL GEIS_HELPER_DSO_LOCAL
#else
#define GEIS_API
#define GEIS_LOCAL
#endif /* GEIS_BUILDING_DSO */
/* If available, provide a NULL terminator check decoration. */
#if __GNUC__ >= 4
# define GEIS_VARARG __attribute__((sentinel(0)))
#else
# define GEIS_VARARG
#endif
/**
* Portability types
*/
typedef size_t GeisSize;
typedef uint32_t GeisBoolean;
typedef int32_t GeisInteger;
typedef float GeisFloat;
typedef void* GeisPointer;
typedef const char *GeisString;
/**
* @brief Magic for constructing geis win_type values.
*/
static inline uint32_t _geis_win_type_str(const char tag[5])
{ return (((((tag[3] << 8 ) | tag[2]) << 8) | tag[1]) << 8) | tag[0]; }
#define geis_win_type_str(tag) _geis_win_type_str(#tag)
/** A full X11 window */
#define GEIS_XCB_FULL_WINDOW geis_win_type_str(GXWF)
/**
* @brief Contains XCB-specific window information
*/
typedef struct _GeisXcbWinInfo
{
const char *display_name;
int *screenp;
uint32_t window_id;
} GeisXcbWinInfo;
#endif /* LIBGEIS_XCB_GEISIMPL_H_ */
|