1*24ec5f43STyler Dauwalder //---------------------------------------------------------------------- 2*24ec5f43STyler Dauwalder // This software is part of the OpenBeOS distribution and is covered 3*24ec5f43STyler Dauwalder // by the OpenBeOS license. 4*24ec5f43STyler Dauwalder // 5*24ec5f43STyler Dauwalder // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net 6*24ec5f43STyler Dauwalder //--------------------------------------------------------------------- 7*24ec5f43STyler Dauwalder #ifndef _UDF_UTILS_H 8*24ec5f43STyler Dauwalder #define _UDF_UTILS_H 9*24ec5f43STyler Dauwalder 10*24ec5f43STyler Dauwalder /*! \file Utils.h 11*24ec5f43STyler Dauwalder 12*24ec5f43STyler Dauwalder Miscellaneous Udf utility functions. 13*24ec5f43STyler Dauwalder */ 14*24ec5f43STyler Dauwalder 15*24ec5f43STyler Dauwalder extern "C" { 16*24ec5f43STyler Dauwalder #ifndef _IMPEXP_KERNEL 17*24ec5f43STyler Dauwalder # define _IMPEXP_KERNEL 18*24ec5f43STyler Dauwalder #endif 19*24ec5f43STyler Dauwalder 20*24ec5f43STyler Dauwalder #include <fsproto.h> 21*24ec5f43STyler Dauwalder } 22*24ec5f43STyler Dauwalder 23*24ec5f43STyler Dauwalder #include "DiskStructures.h" 24*24ec5f43STyler Dauwalder 25*24ec5f43STyler Dauwalder namespace Udf { 26*24ec5f43STyler Dauwalder 27*24ec5f43STyler Dauwalder udf_long_address to_long_address(vnode_id id, uint32 length = 0); 28*24ec5f43STyler Dauwalder 29*24ec5f43STyler Dauwalder vnode_id to_vnode_id(udf_long_address address); 30*24ec5f43STyler Dauwalder 31*24ec5f43STyler Dauwalder } // namespace Udf 32*24ec5f43STyler Dauwalder 33*24ec5f43STyler Dauwalder #endif // _UDF_UTILS_H 34*24ec5f43STyler Dauwalder 35