diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:50 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:50 +0000 |
commit | 3795e9702b3b3a6fe0594d09cdd110adeb5e42f9 (patch) | |
tree | caec4aaf13f12f0a31c15cb24ad2127eff834dd2 /src/stubs | |
parent | 153e8da44452905ae04a0e20ad0d85f40399b4ca (diff) | |
download | xorg-lib-libXfont-3795e9702b3b3a6fe0594d09cdd110adeb5e42f9.tar.gz |
Initial revision
Diffstat (limited to 'src/stubs')
-rw-r--r-- | src/stubs/cauthgen.c | 11 | ||||
-rw-r--r-- | src/stubs/csignal.c | 11 | ||||
-rw-r--r-- | src/stubs/delfntcid.c | 10 | ||||
-rw-r--r-- | src/stubs/errorf.c | 10 | ||||
-rw-r--r-- | src/stubs/fatalerror.c | 10 | ||||
-rw-r--r-- | src/stubs/findoldfnt.c | 11 | ||||
-rw-r--r-- | src/stubs/getcres.c | 11 | ||||
-rw-r--r-- | src/stubs/getdefptsize.c | 11 | ||||
-rw-r--r-- | src/stubs/getnewfntcid.c | 11 | ||||
-rw-r--r-- | src/stubs/gettime.c | 11 | ||||
-rw-r--r-- | src/stubs/initfshdl.c | 12 | ||||
-rw-r--r-- | src/stubs/regfpefunc.c | 25 | ||||
-rw-r--r-- | src/stubs/rmfshdl.c | 12 | ||||
-rw-r--r-- | src/stubs/servclient.c | 3 | ||||
-rw-r--r-- | src/stubs/setfntauth.c | 11 | ||||
-rw-r--r-- | src/stubs/stfntcfnt.c | 11 | ||||
-rw-r--r-- | src/stubs/stubs.h | 29 | ||||
-rw-r--r-- | src/stubs/xpstubs.c | 21 |
18 files changed, 231 insertions, 0 deletions
diff --git a/src/stubs/cauthgen.c b/src/stubs/cauthgen.c new file mode 100644 index 0000000..b40a440 --- /dev/null +++ b/src/stubs/cauthgen.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/cauthgen.c,v 1.1 1999/01/11 05:13:18 dawes Exp $ */ + +#include "stubs.h" + +int +client_auth_generation(ClientPtr client) +{ + return 0; +} + +/* end of file */ diff --git a/src/stubs/csignal.c b/src/stubs/csignal.c new file mode 100644 index 0000000..668f4f5 --- /dev/null +++ b/src/stubs/csignal.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/csignal.c,v 1.1 1999/01/11 05:13:18 dawes Exp $ */ + +#include "stubs.h" + +Bool +ClientSignal(ClientPtr client) +{ + return True; +} + +/* end of file */ diff --git a/src/stubs/delfntcid.c b/src/stubs/delfntcid.c new file mode 100644 index 0000000..a9aaf35 --- /dev/null +++ b/src/stubs/delfntcid.c @@ -0,0 +1,10 @@ +/* $XFree86: xc/lib/font/stubs/delfntcid.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */ + +#include "stubs.h" + +void +DeleteFontClientID(Font id) +{ +} + +/* end of file */ diff --git a/src/stubs/errorf.c b/src/stubs/errorf.c new file mode 100644 index 0000000..44d675c --- /dev/null +++ b/src/stubs/errorf.c @@ -0,0 +1,10 @@ +/* $XFree86: xc/lib/font/stubs/errorf.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */ + +#include "stubs.h" + +void +ErrorF(char *f) +{ +} + +/* end of file */ diff --git a/src/stubs/fatalerror.c b/src/stubs/fatalerror.c new file mode 100644 index 0000000..62f571c --- /dev/null +++ b/src/stubs/fatalerror.c @@ -0,0 +1,10 @@ +/* $XFree86: xc/lib/font/stubs/fatalerror.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */ + +#include "stubs.h" + +void +FatalError(char *f) +{ +} + +/* end of file */ diff --git a/src/stubs/findoldfnt.c b/src/stubs/findoldfnt.c new file mode 100644 index 0000000..ce8a9de --- /dev/null +++ b/src/stubs/findoldfnt.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/findoldfnt.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */ + +#include "stubs.h" + +FontPtr +find_old_font(FSID id) +{ + return (FontPtr)NULL; +} + +/* end of file */ diff --git a/src/stubs/getcres.c b/src/stubs/getcres.c new file mode 100644 index 0000000..e1ce577 --- /dev/null +++ b/src/stubs/getcres.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/getcres.c,v 1.1 1999/01/11 05:13:20 dawes Exp $ */ + +#include "stubs.h" + +FontResolutionPtr +GetClientResolutions(int *num) +{ + return (FontResolutionPtr) 0; +} + +/* end of file */ diff --git a/src/stubs/getdefptsize.c b/src/stubs/getdefptsize.c new file mode 100644 index 0000000..ada6c6a --- /dev/null +++ b/src/stubs/getdefptsize.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/getdefptsize.c,v 1.1 1999/01/11 05:13:20 dawes Exp $ */ + +#include "stubs.h" + +int +GetDefaultPointSize(void) +{ + return 0; +} + +/* end of file */ diff --git a/src/stubs/getnewfntcid.c b/src/stubs/getnewfntcid.c new file mode 100644 index 0000000..a65fd27 --- /dev/null +++ b/src/stubs/getnewfntcid.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/getnewfntcid.c,v 1.1 1999/01/11 05:13:20 dawes Exp $ */ + +#include "stubs.h" + +Font +GetNewFontClientID(void) +{ + return (Font)0; +} + +/* end of file */ diff --git a/src/stubs/gettime.c b/src/stubs/gettime.c new file mode 100644 index 0000000..023441f --- /dev/null +++ b/src/stubs/gettime.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/gettime.c,v 1.1 1999/12/15 01:14:36 robin Exp $ */ + +#include "stubs.h" + +unsigned long +GetTimeInMillis (void) +{ + return 0; +} + +/* end of file */ diff --git a/src/stubs/initfshdl.c b/src/stubs/initfshdl.c new file mode 100644 index 0000000..13d2230 --- /dev/null +++ b/src/stubs/initfshdl.c @@ -0,0 +1,12 @@ +/* $XFree86: xc/lib/font/stubs/initfshdl.c,v 1.1 1999/01/11 05:13:20 dawes Exp $ */ + +#include "stubs.h" + +int +init_fs_handlers(FontPathElementPtr fpe, + void (*block_handler)()) +{ + return Successful; +} + +/* end of file */ diff --git a/src/stubs/regfpefunc.c b/src/stubs/regfpefunc.c new file mode 100644 index 0000000..96f4b92 --- /dev/null +++ b/src/stubs/regfpefunc.c @@ -0,0 +1,25 @@ +/* $XFree86: xc/lib/font/stubs/regfpefunc.c,v 1.2 1999/08/21 13:48:07 dawes Exp $ */ + +#include "stubs.h" + +int +RegisterFPEFunctions(NameCheckFunc name_func, + InitFpeFunc init_func, + FreeFpeFunc free_func, + ResetFpeFunc reset_func, + OpenFontFunc open_func, + CloseFontFunc close_func, + ListFontsFunc list_func, + StartLfwiFunc start_lfwi_func, + NextLfwiFunc next_lfwi_func, + WakeupFpeFunc wakeup_func, + ClientDiedFunc client_died, + LoadGlyphsFunc load_glyphs, + StartLaFunc start_list_alias_func, + NextLaFunc next_list_alias_func, + SetPathFunc set_path_func) +{ + return 0; +} + +/* end of file */ diff --git a/src/stubs/rmfshdl.c b/src/stubs/rmfshdl.c new file mode 100644 index 0000000..4e6d1da --- /dev/null +++ b/src/stubs/rmfshdl.c @@ -0,0 +1,12 @@ +/* $XFree86: xc/lib/font/stubs/rmfshdl.c,v 1.1 1999/01/11 05:13:21 dawes Exp $ */ + +#include "stubs.h" + +void +remove_fs_handlers(FontPathElementPtr fpe, + void (*block_handler) (), + Bool all) +{ +} + +/* end of file */ diff --git a/src/stubs/servclient.c b/src/stubs/servclient.c new file mode 100644 index 0000000..7f3e786 --- /dev/null +++ b/src/stubs/servclient.c @@ -0,0 +1,3 @@ +/* $XFree86: xc/lib/font/stubs/servclient.c,v 1.1 1999/01/11 05:13:21 dawes Exp $ */ + +void *serverClient = 0; diff --git a/src/stubs/setfntauth.c b/src/stubs/setfntauth.c new file mode 100644 index 0000000..75e59c4 --- /dev/null +++ b/src/stubs/setfntauth.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/setfntauth.c,v 1.1 1999/01/11 05:13:21 dawes Exp $ */ + +#include "stubs.h" + +int +set_font_authorizations(char **authorizations, int *authlen, ClientPtr client) +{ + return 0; +} + +/* end of file */ diff --git a/src/stubs/stfntcfnt.c b/src/stubs/stfntcfnt.c new file mode 100644 index 0000000..cbb544f --- /dev/null +++ b/src/stubs/stfntcfnt.c @@ -0,0 +1,11 @@ +/* $XFree86: xc/lib/font/stubs/stfntcfnt.c,v 1.1 1999/01/11 05:13:21 dawes Exp $ */ + +#include "stubs.h" + +int +StoreFontClientFont(FontPtr pfont, Font id) +{ + return 0; +} + +/* end of file */ diff --git a/src/stubs/stubs.h b/src/stubs/stubs.h new file mode 100644 index 0000000..e88dc39 --- /dev/null +++ b/src/stubs/stubs.h @@ -0,0 +1,29 @@ +/* $XFree86: xc/lib/font/stubs/stubs.h,v 1.3 1999/12/15 01:14:36 robin Exp $ */ + +/* This directory includes dummy entry for bdftopcf and mkfontdir */ + +#include <stdio.h> +#include "fntfilst.h" +#include "font.h" + + +#ifndef True +#define True (-1) +#endif +#ifndef False +#define False (0) +#endif + +extern FontPtr find_old_font ( FSID id ); +extern FontResolutionPtr GetClientResolutions ( int *num ); +extern int GetDefaultPointSize ( void ); +extern int set_font_authorizations ( char **authorizations, + int *authlen, + ClientPtr client ); +extern Bool XpClientIsBitmapClient ( ClientPtr client ); +extern Bool XpClientIsPrintClient ( ClientPtr client, + FontPathElementPtr fpe ); + +extern unsigned long GetTimeInMillis (void); + +/* end of file */ diff --git a/src/stubs/xpstubs.c b/src/stubs/xpstubs.c new file mode 100644 index 0000000..c692bbc --- /dev/null +++ b/src/stubs/xpstubs.c @@ -0,0 +1,21 @@ +/* $XFree86: xc/lib/font/stubs/xpstubs.c,v 1.1 1999/01/11 05:13:22 dawes Exp $ */ + +/* + stub for XpClient* functions. +*/ + +#include "stubs.h" + +Bool +XpClientIsBitmapClient(ClientPtr client) +{ + return True; +} + +Bool +XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe) +{ + return False; +} + +/* end of file */ |