]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_encodings.h
xnu-792.6.56.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_encodings.h
index d637fdaa243b5c9f2807ca50b51ae0c025612227..e7852dfb209048e4fcd706742a329f08c8fd1cdb 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
 #include <sys/appleapiopts.h>
 
 #ifdef __APPLE_API_UNSTABLE
-/*
- * Sysctl value for HFS Unicode encoding matching.
- */
-#define HFS_ENCODINGBIAS       1       /* encoding matching CJK bias */
 
 #define CTL_HFS_NAMES { \
        { 0, 0 }, \
@@ -55,7 +49,7 @@
  * encoding conversion routines.
  */
 
-typedef int (* hfs_to_unicode_func_t)(Str31 hfs_str, UniChar *uni_str,
+typedef int (* hfs_to_unicode_func_t)(const Str31 hfs_str, UniChar *uni_str,
                UInt32 maxCharLen, UInt32 *usedCharLen);
 
 typedef int (* unicode_to_hfs_func_t)(UniChar *uni_str, UInt32 unicodeChars,