|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1997-1998 Apple Computer, Inc. All Rights Reserved ! 3: * ! 4: * MODIFICATION HISTORY (most recent first): ! 5: * ! 6: * 20-Aug-1998 Scott Roberts Added uid, gid, and mask to hfs_mount_args. ! 7: * 24-Jun-1998 Don Brady Added time zone info to hfs_mount_args (radar #2226387). ! 8: * 30-Jul-1997 Pat Dirks created ! 9: */ ! 10: ! 11: #ifndef _HFS_ENCODINGS_H_ ! 12: #define _HFS_ENCODINGS_H_ ! 13: ! 14: /* ! 15: * HFS Filename Encoding Converters Interface ! 16: * ! 17: * Private Interface for adding hfs filename ! 18: * encoding converters. These are not needed ! 19: * for HFS Plus volumes (since they already ! 20: * have Unicode filenames). ! 21: * ! 22: * Used by HFS Encoding Converter Kernel Modules ! 23: * (like HFS_Japanese.kmod) to register their ! 24: * encoding conversion routines. ! 25: */ ! 26: ! 27: typedef int (* hfs_to_unicode_func_t)(Str31 hfs_str, UniChar *uni_str, ! 28: UInt32 maxCharLen, UInt32 *usedCharLen); ! 29: ! 30: typedef int (* unicode_to_hfs_func_t)(UniChar *uni_str, UInt32 unicodeChars, ! 31: Str31 hfs_str); ! 32: ! 33: ! 34: int hfs_addconverter(int kmod_id, UInt32 encoding, hfs_to_unicode_func_t get_unicode, ! 35: unicode_to_hfs_func_t get_hfsname); ! 36: ! 37: int hfs_remconverter(int kmod_id, UInt32 encoding); ! 38: ! 39: ! 40: #endif /* ! _HFS_ENCODINGS_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.