~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to Xprint/ps/PsAttr.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Xorg: PsAttr.c,v 1.4 2001/02/09 02:04:35 xorgcvs Exp $ */
 
2
/*
 
3
 
 
4
Copyright 1996, 1998  The Open Group
 
5
 
 
6
Permission to use, copy, modify, distribute, and sell this software and its
 
7
documentation for any purpose is hereby granted without fee, provided that
 
8
the above copyright notice appear in all copies and that both that
 
9
copyright notice and this permission notice appear in supporting
 
10
documentation.
 
11
 
 
12
The above copyright notice and this permission notice shall be included in
 
13
all copies or substantial portions of the Software.
 
14
 
 
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 
18
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 
19
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
20
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
21
 
 
22
Except as contained in this notice, the name of The Open Group shall not be
 
23
used in advertising or otherwise to promote the sale, use or other dealings
 
24
in this Software without prior written authorization from The Open Group.
 
25
 
 
26
*/
 
27
/*
 
28
 * (c) Copyright 1996 Hewlett-Packard Company
 
29
 * (c) Copyright 1996 International Business Machines Corp.
 
30
 * (c) Copyright 1996 Sun Microsystems, Inc.
 
31
 * (c) Copyright 1996 Novell, Inc.
 
32
 * (c) Copyright 1996 Digital Equipment Corp.
 
33
 * (c) Copyright 1996 Fujitsu Limited
 
34
 * (c) Copyright 1996 Hitachi, Ltd.
 
35
 *
 
36
 * Permission is hereby granted, free of charge, to any person obtaining
 
37
 * a copy of this software and associated documentation files (the
 
38
 * "Software"), to deal in the Software without restriction, including
 
39
 * without limitation the rights to use, copy, modify, merge, publish,
 
40
 * distribute, sublicense, and/or sell copies of the Software, and to
 
41
 * permit persons to whom the Software is furnished to do so, subject
 
42
 * to the following conditions:
 
43
 *
 
44
 * The above copyright notice and this permission notice shall be included
 
45
 * in all copies or substantial portions of the Software.
 
46
 *
 
47
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
48
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
49
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 
50
 * THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 
51
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
 
52
 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 
53
 * SOFTWARE.
 
54
 *
 
55
 * Except as contained in this notice, the names of the copyright holders
 
56
 * shall not be used in advertising or otherwise to promote the sale, use
 
57
 * or other dealings in this Software without prior written authorization
 
58
 * from said copyright holders.
 
59
 */
 
60
 
 
61
/*******************************************************************
 
62
**
 
63
**    *********************************************************
 
64
**    *
 
65
**    *  File:          PsAttr.c
 
66
**    *
 
67
**    *  Contents:      Attribute-handling functions for the PS driver
 
68
**    *
 
69
**    *  Created By:    Roger Helmendach (Liberty Systems)
 
70
**    *
 
71
**    *  Copyright:     Copyright 1996 The Open Group, Inc.
 
72
**    *
 
73
**    *********************************************************
 
74
** 
 
75
********************************************************************/
 
76
 
 
77
#ifdef HAVE_DIX_CONFIG_H
 
78
#include <dix-config.h>
 
79
#endif
 
80
 
 
81
#include "Ps.h"
 
82
#include "attributes.h"
 
83
 
 
84
char *
 
85
PsGetAttributes(
 
86
  XpContextPtr pCon,
 
87
  XPAttributes pool)
 
88
{
 
89
  return XpGetAttributes(pCon, pool);
 
90
}
 
91
 
 
92
char *
 
93
PsGetOneAttribute(
 
94
  XpContextPtr  pCon,
 
95
  XPAttributes  pool,
 
96
  char         *attr)
 
97
{
 
98
  return XpGetOneAttribute(pCon, pool, attr);
 
99
}
 
100
 
 
101
int
 
102
PsAugmentAttributes(
 
103
  XpContextPtr  pCon,
 
104
  XPAttributes  pool,
 
105
  char         *attrs)
 
106
{
 
107
  return XpAugmentAttributes(pCon, pool, attrs);
 
108
}
 
109
 
 
110
int
 
111
PsSetAttributes(
 
112
  XpContextPtr  pCon,
 
113
  XPAttributes  pool,
 
114
  char         *attrs)
 
115
{
 
116
  return XpSetAttributes(pCon, pool, attrs);
 
117
}