29 #include FT_INTERNAL_OBJECTS_H
37 #define FT_RACCESS_N_RULES 9
51 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK
56 char **result_file_name,
59 typedef enum FT_RFork_Rule_ {
60 FT_RFork_Rule_invalid = -2,
62 FT_RFork_Rule_apple_double,
63 FT_RFork_Rule_apple_single,
64 FT_RFork_Rule_darwin_ufs_export,
65 FT_RFork_Rule_darwin_newvfs,
66 FT_RFork_Rule_darwin_hfsplus,
68 FT_RFork_Rule_linux_cap,
69 FT_RFork_Rule_linux_double,
70 FT_RFork_Rule_linux_netatalk
77 typedef struct ft_raccess_guess_rec_ {
78 ft_raccess_guess_func
func;
80 } ft_raccess_guess_rec;
82 #ifndef FT_CONFIG_OPTION_PIC
84 #define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \
86 #define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \
87 { raccess_guess_##func_suffix, FT_RFork_Rule_##type_suffix },
88 #define CONST_FT_RFORK_RULE_ARRAY_END };
91 #define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \
92 void FT_Init_##name ( type* storage ) { \
93 type *local = storage; \
95 #define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \
96 local[i].func = raccess_guess_##func_suffix; \
97 local[i].type = FT_RFork_Rule_##type_suffix; \
99 #define CONST_FT_RFORK_RULE_ARRAY_END }
FT_Raccess_Get_DataOffsets(FT_Library library, FT_Stream stream, FT_Long map_offset, FT_Long rdata_pos, FT_Long tag, FT_Long **offsets, FT_Long *count)
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
GLuint GLsizei const GLuint const GLintptr * offsets
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)