1/* os_mac_conv.c */ 2char_u *mac_string_convert(char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp); 3int macroman2enc(char_u *ptr, long *sizep, long real_size); 4int enc2macroman(char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp); 5void mac_conv_init(void); 6void mac_conv_cleanup(void); 7char_u *mac_utf16_to_enc(unsigned short *from, size_t fromLen, size_t *actualLen); 8unsigned short *mac_enc_to_utf16(char_u *from, size_t fromLen, size_t *actualLen); 9void *mac_enc_to_cfstring(char_u *from, size_t fromLen); 10char_u *mac_precompose_path(char_u *decompPath, size_t decompLen, size_t *precompLen); 11void mac_lang_init(void); 12/* vim: set ft=c : */ 13