3 * Copyright 1999 SuSE, Inc.
5 * Permission to use, copy, modify, distribute, and sell this software and its
6 * documentation for any purpose is hereby granted without fee, provided that
7 * the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting
9 * documentation, and that the name of SuSE not be used in advertising or
10 * publicity pertaining to distribution of the software without specific,
11 * written prior permission. SuSE makes no representations about the
12 * suitability of this software for any purpose. It is provided "as is"
13 * without express or implied warranty.
15 * SuSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
17 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
19 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
20 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 * Author: Keith Packard, SuSE, Inc.
25 #include <X11/Xdefs.h>
26 #include <X11/fonts/font.h>
27 #include <X11/fonts/fontxlfd.h>
28 #include <X11/fonts/fntfil.h>
29 #include <X11/fonts/fntfilio.h>
30 #include <X11/fonts/fntfilst.h>
32 typedef struct _BuiltinFile {
36 } BuiltinFileRec, *BuiltinFilePtr;
38 typedef struct _BuiltinDir {
39 const char *file_name;
41 } BuiltinDirRec, *BuiltinDirPtr;
43 typedef struct _BuiltinAlias {
46 } BuiltinAliasRec, *BuiltinAliasPtr;
48 extern const BuiltinFileRec builtin_files[];
49 extern const int builtin_files_count;
51 extern const BuiltinDirRec builtin_dir[];
52 extern const int builtin_dir_count;
54 extern const BuiltinAliasRec builtin_alias[];
55 extern const int builtin_alias_count;
57 extern FontFilePtr BuiltinFileOpen (char *);
58 extern int BuiltinFileClose (BufFilePtr, int);
59 extern int BuiltinReadDirectory (char *, FontDirectoryPtr *);
60 extern void BuiltinRegisterFontFileFunctions (void);
62 extern void BuiltinRegisterFpeFunctions (void);