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