~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/Context.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
                        All Rights Reserved
7
7
 
8
 
Permission to use, copy, modify, and distribute this software and its 
9
 
documentation for any purpose and without fee is hereby granted, 
 
8
Permission to use, copy, modify, and distribute this software and its
 
9
documentation for any purpose and without fee is hereby granted,
10
10
provided that the above copyright notice appear in all copies and that
11
 
both that copyright notice and this permission notice appear in 
 
11
both that copyright notice and this permission notice appear in
12
12
supporting documentation, and that the name Digital not be
13
13
used in advertising or publicity pertaining to distribution of the
14
 
software without specific, written prior permission.  
 
14
software without specific, written prior permission.
15
15
 
16
16
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
17
17
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
156
156
/* Save the given value of data to correspond with the keys XID and context.
157
157
   Returns nonzero error code if an error has occured, 0 otherwise.
158
158
   Possible errors are Out-of-memory.
159
 
*/   
 
159
*/
160
160
 
161
161
int XSaveContext(
162
162
    Display *display,
230
230
 
231
231
 
232
232
 
233
 
/* Given an XID and context, returns the associated data.  Note that data 
 
233
/* Given an XID and context, returns the associated data.  Note that data
234
234
   here is a pointer since it is a return value.  Returns nonzero error code
235
235
   if an error has occured, 0 otherwise.  Possible errors are Entry-not-found.
236
236
*/