~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to include/resource.h

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-01-23 16:09:29 UTC
  • mfrom: (1.1.46) (0.11.34 sid)
  • Revision ID: package-import@ubuntu.com-20120123160929-k4xdb9b7xeesiukp
Tags: 2:1.11.3-0ubuntu8
* debian/patches/224_return_BadWindow_not_BadMatch.diff:
  - Fix the error values of a whole slew of window-related calls.
    Fixes some gnome-settings-daemon aborts in XLib (LP: #903973)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
/* classes for Resource routines */
58
58
 
59
 
typedef unsigned long RESTYPE;
 
59
typedef uint32_t RESTYPE;
60
60
 
61
61
#define RC_VANILLA      ((RESTYPE)0)
62
62
#define RC_CACHED       ((RESTYPE)1<<31)
251
251
extern _X_EXPORT RESTYPE lastResourceType;
252
252
extern _X_EXPORT RESTYPE TypeMask;
253
253
 
254
 
/*
255
 
 * These are deprecated compatibility functions and will be removed soon!
256
 
 * Please use the noted replacements instead.
257
 
 */
258
 
 
259
 
/* replaced by dixLookupResourceByType */
260
 
extern _X_EXPORT pointer SecurityLookupIDByType(
261
 
    ClientPtr client,
262
 
    XID id,
263
 
    RESTYPE rtype,
264
 
    Mask access_mode) _X_DEPRECATED;
265
 
 
266
 
/* replaced by dixLookupResourceByClass */
267
 
extern _X_EXPORT pointer SecurityLookupIDByClass(
268
 
    ClientPtr client,
269
 
    XID id,
270
 
    RESTYPE classes,
271
 
    Mask access_mode) _X_DEPRECATED;
272
 
 
273
 
/* replaced by dixLookupResourceByType */
274
 
extern _X_EXPORT pointer LookupIDByType(
275
 
    XID id,
276
 
    RESTYPE rtype) _X_DEPRECATED;
277
 
 
278
 
/* replaced by dixLookupResourceByClass */
279
 
extern _X_EXPORT pointer LookupIDByClass(
280
 
    XID id,
281
 
    RESTYPE classes) _X_DEPRECATED;
282
 
 
283
254
#endif /* RESOURCE_H */
284
255