swapreq.h revision bbe1b32b
1/*
2 * $XFree86: xc/programs/xfs/include/swapreq.h,v 1.1 1998/10/25 07:12:32 dawes Exp $
3 */
4
5/************************************************************
6
7Copyright 1998 by Thomas E. Dickey <dickey@clark.net>
8
9                        All Rights Reserved
10
11Permission to use, copy, modify, and distribute this software and its
12documentation for any purpose and without fee is hereby granted,
13provided that the above copyright notice appear in all copies and that
14both that copyright notice and this permission notice appear in
15supporting documentation, and that the name of the above listed
16copyright holder(s) not be used in advertising or publicity pertaining
17to distribution of the software without specific, written prior
18permission.
19
20THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
21TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
23LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
24WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
25ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
26OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27
28********************************************************/
29
30/*
31 * difs/swapreq.h -- swapped requests
32 */
33
34
35#ifndef _SWAPREQ_H_
36#define _SWAPREQ_H_ 1
37
38#include <misc.h>
39
40extern int SProcCreateAC(ClientPtr client);
41extern int SProcListCatalogues(ClientPtr client);
42extern int SProcListFonts(ClientPtr client);
43extern int SProcListFontsWithXInfo(ClientPtr client);
44extern int SProcOpenBitmapFont(ClientPtr client);
45extern int SProcQueryExtension(ClientPtr client);
46extern int SProcQueryXBitmaps(ClientPtr client);
47extern int SProcQueryXExtents(ClientPtr client);
48extern int SProcResourceRequest(ClientPtr client);
49extern int SProcSetResolution(ClientPtr client);
50extern int SProcSimpleRequest(ClientPtr client);
51extern int SwapConnClientPrefix(ClientPtr client, fsConnClientPrefix *pCCP);
52extern void SwapLongs(long *list, unsigned long count);
53extern void SwapShorts(short *list, unsigned long count);
54
55#endif /* _SWAPREQ_H_ */
56