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 85 #define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \ 87 #define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \ 88 { raccess_guess_ ## func_suffix, \ 89 FT_RFork_Rule_ ## type_suffix }, 90 #define CONST_FT_RFORK_RULE_ARRAY_END }; 95 #define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \ 97 FT_Init_ ## name( type* storage ) \ 99 type* local = storage; \ 103 #define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \ 104 local[i].func = raccess_guess_ ## func_suffix; \ 105 local[i].type = FT_RFork_Rule_ ## type_suffix; \ 107 #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)
struct FT_RFork_Ref_ FT_RFork_Ref
GLuint GLuint GLsizei count
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)