VirtualBox

Changeset 34967 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Dec 10, 2010 5:52:01 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68789
Message:

Moved and extended RTVfsIoStrmValidateUtf8Encoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/vfs.h

    r34964 r34967  
    654654 *
    655655 * @param   hVfsIos         The VFS I/O stream handle.
    656  */
    657 RTDECL(int)        RTVfsIoStrmValidateUtf8Encoding(RTVFSIOSTREAM hVfsIos);
     656 * @param   fFlags          Flags governing the validation, see
     657 *                          RTVFS_VALIDATE_UTF8_XXX.
     658 * @param   poffError       Where to return the error offset. Optional.
     659 */
     660RTDECL(int)        RTVfsIoStrmValidateUtf8Encoding(RTVFSIOSTREAM hVfsIos, uint32_t fFlags, PRTFOFF poffError);
     661
     662/** @defgroup RTVFS_VALIDATE_UTF8_XXX   RTVfsIoStrmValidateUtf8Encoding flags.
     663 * @{ */
     664/** The text must not contain any null terminator codepoints. */
     665#define RTVFS_VALIDATE_UTF8_NO_NULL         RT_BIT_32(0)
     666/** The codepoints must be in the range covered by RTC-3629.  */
     667#define RTVFS_VALIDATE_UTF8_BY_RTC_3629     RT_BIT_32(1)
     668/** Mask of valid flags. */
     669#define RTVFS_VALIDATE_UTF8_VALID_MASK      UINT32_C(0x00000003)
     670/** @}  */
    658671
    659672/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette