xref: /haiku/src/add-ons/kernel/file_systems/udf/Recognition.h (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
1 //----------------------------------------------------------------------
2 //  This software is part of the OpenBeOS distribution and is covered
3 //  by the OpenBeOS license.
4 //
5 //  Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
6 //---------------------------------------------------------------------
7 #ifndef _UDF_RECOGNITION_H
8 #define _UDF_RECOGNITION_H
9 
10 /*! \file Recognition.h
11 */
12 
13 #include "UdfStructures.h"
14 #include "UdfDebug.h"
15 
16 namespace Udf {
17 
18 status_t udf_recognize(int device, off_t offset, off_t length,
19 					   uint32 blockSize, uint32 &blockShift,
20                        logical_volume_descriptor &logicalVolumeDescriptor,
21                        partition_descriptor partitionDescriptors[],
22                        uint8 &partitionDescriptorCount);
23 status_t udf_recognize(int device, off_t offset, off_t length,
24 					   uint32 blockSize, char *volumeName);
25 
26 }	// namespace Udf
27 
28 #endif	// _UDF_RECOGNITION_H
29