| 1 | #ifndef DIXFONTSTUBS_H |
| 2 | #define DIXFONTSTUBS_H 1 |
| 3 | |
| 4 | /* |
| 5 | * libXfont stubs replacements |
| 6 | * This header exists solely for the purpose of sdksyms generation; |
| 7 | * source code should #include "dixfonts.h" instead, which pulls in these |
| 8 | * declarations from <X11/fonts/fontproto.h> |
| 9 | */ |
| 10 | extern _X_EXPORT int client_auth_generation(ClientPtr client); |
| 11 | |
| 12 | extern _X_EXPORT void DeleteFontClientID(Font id); |
| 13 | |
| 14 | extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num); |
| 15 | |
| 16 | extern _X_EXPORT int GetDefaultPointSize(void); |
| 17 | |
| 18 | extern _X_EXPORT Font GetNewFontClientID(void); |
| 19 | |
| 20 | extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe, |
| 21 | BlockHandlerProcPtr block_handler); |
| 22 | |
| 23 | extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func, |
| 24 | InitFpeFunc init_func, |
| 25 | FreeFpeFunc free_func, |
| 26 | ResetFpeFunc reset_func, |
| 27 | OpenFontFunc open_func, |
| 28 | CloseFontFunc close_func, |
| 29 | ListFontsFunc list_func, |
| 30 | StartLfwiFunc start_lfwi_func, |
| 31 | NextLfwiFunc next_lfwi_func, |
| 32 | WakeupFpeFunc wakeup_func, |
| 33 | ClientDiedFunc client_died, |
| 34 | LoadGlyphsFunc load_glyphs, |
| 35 | StartLaFunc start_list_alias_func, |
| 36 | NextLaFunc next_list_alias_func, |
| 37 | SetPathFunc set_path_func); |
| 38 | |
| 39 | extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe, |
| 40 | BlockHandlerProcPtr blockHandler, |
| 41 | Bool all); |
| 42 | |
| 43 | extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id); |
| 44 | |
| 45 | #endif |