VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/fontsproto-2.1.3/X11/fonts/fontproto.h@ 98146

Last change on this file since 98146 was 98146, checked in by vboxsync, 2 years ago

Additions/x11: OSE export fixing for various X proto headers.

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1/***********************************************************
2
3Copyright (c) 1999 The XFree86 Project Inc.
4
5All Rights Reserved.
6
7The above copyright notice and this permission notice shall be included in
8all copies or substantial portions of the Software.
9
10THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
14AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
15CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16
17Except as contained in this notice, the name of The XFree86 Project
18Inc. shall not be used in advertising or otherwise to promote the
19sale, use or other dealings in this Software without prior written
20authorization from The XFree86 Project Inc..
21
22*/
23#ifndef _FONTPROTO_H
24#define _FONTPROTO_H
25
26/* Externally provided functions required by libXfont */
27
28extern int RegisterFPEFunctions ( NameCheckFunc name_func,
29 InitFpeFunc init_func,
30 FreeFpeFunc free_func,
31 ResetFpeFunc reset_func,
32 OpenFontFunc open_func,
33 CloseFontFunc close_func,
34 ListFontsFunc list_func,
35 StartLfwiFunc start_lfwi_func,
36 NextLfwiFunc next_lfwi_func,
37 WakeupFpeFunc wakeup_func,
38 ClientDiedFunc client_died,
39 LoadGlyphsFunc load_glyphs,
40 StartLaFunc start_list_alias_func,
41 NextLaFunc next_list_alias_func,
42 SetPathFunc set_path_func);
43
44extern int GetDefaultPointSize ( void );
45
46extern int init_fs_handlers ( FontPathElementPtr fpe,
47 BlockHandlerProcPtr block_handler);
48extern void remove_fs_handlers ( FontPathElementPtr fpe,
49 BlockHandlerProcPtr block_handler,
50 Bool all );
51
52extern int client_auth_generation ( ClientPtr client );
53
54#ifndef ___CLIENTSIGNAL_DEFINED___
55#define ___CLIENTSIGNAL_DEFINED___
56extern Bool ClientSignal ( ClientPtr client );
57#endif /* ___CLIENTSIGNAL_DEFINED___ */
58
59extern void DeleteFontClientID ( Font id );
60extern Font GetNewFontClientID ( void );
61extern int StoreFontClientFont ( FontPtr pfont, Font id );
62extern void FontFileRegisterFpeFunctions ( void );
63extern void FontFileCheckRegisterFpeFunctions ( void );
64
65extern Bool XpClientIsBitmapClient ( ClientPtr client );
66extern Bool XpClientIsPrintClient( ClientPtr client, FontPathElementPtr fpe );
67extern void PrinterFontRegisterFpeFunctions ( void );
68
69extern void fs_register_fpe_functions ( void );
70extern void check_fs_register_fpe_functions ( void );
71
72/* util/private.c */
73extern FontPtr CreateFontRec (void);
74extern void DestroyFontRec (FontPtr font);
75extern Bool _FontSetNewPrivate (FontPtr /* pFont */,
76 int /* n */,
77 void * /* ptr */);
78extern int AllocateFontPrivateIndex (void);
79extern void ResetFontPrivateIndex (void);
80
81/* Type1/t1funcs.c */
82extern void Type1RegisterFontFileFunctions(void);
83extern void CIDRegisterFontFileFunctions(void);
84
85/* Speedo/spfuncs.c */
86extern void SpeedoRegisterFontFileFunctions(void);
87
88/* FreeType/ftfuncs.c */
89extern void FreeTypeRegisterFontFileFunctions(void);
90
91#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette