29#include FT_INTERNAL_OBJECTS_H
37#define FT_RACCESS_N_RULES 9
52#ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK
57 char **result_file_name,
60 typedef enum FT_RFork_Rule_ {
61 FT_RFork_Rule_invalid = -2,
63 FT_RFork_Rule_apple_double,
64 FT_RFork_Rule_apple_single,
65 FT_RFork_Rule_darwin_ufs_export,
66 FT_RFork_Rule_darwin_newvfs,
67 FT_RFork_Rule_darwin_hfsplus,
69 FT_RFork_Rule_linux_cap,
70 FT_RFork_Rule_linux_double,
71 FT_RFork_Rule_linux_netatalk
78 typedef struct ft_raccess_guess_rec_ {
79 ft_raccess_guess_func
func;
81 } ft_raccess_guess_rec;
83#ifndef FT_CONFIG_OPTION_PIC
86#define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \
87 static const type name[] = {
88#define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \
89 { raccess_guess_ ## func_suffix, \
90 FT_RFork_Rule_ ## type_suffix },
91#define CONST_FT_RFORK_RULE_ARRAY_END };
96#define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \
98 FT_Init_Table_ ## name( type* storage ) \
100 type* local = storage; \
104#define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \
105 local[i].func = raccess_guess_ ## func_suffix; \
106 local[i].type = FT_RFork_Rule_ ## type_suffix; \
108#define CONST_FT_RFORK_RULE_ARRAY_END }
struct FT_RFork_Ref_ FT_RFork_Ref
FT_Raccess_Guess(FT_Library library, FT_Stream stream, char *base_name, char **new_names, FT_Long *offsets, FT_Error *errors)
FT_Raccess_Get_HeaderInfo(FT_Library library, FT_Stream stream, FT_Long rfork_offset, FT_Long *map_offset, FT_Long *rdata_pos)
FT_Raccess_Get_DataOffsets(FT_Library library, FT_Stream stream, FT_Long map_offset, FT_Long rdata_pos, FT_Long tag, FT_Bool sort_by_res_id, FT_Long **offsets, FT_Long *count)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
static const FxOffsetAndName offsets[]
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type