xref: /haiku/src/add-ons/kernel/file_systems/udf/Recognition.h (revision 25a7b01d15612846f332751841da3579db313082)
1*c530d46cSJérôme Duval /*
2*c530d46cSJérôme Duval  * Copyright 2012, Jérôme Duval, korli@users.berlios.de.
3*c530d46cSJérôme Duval  * Copyright 2003, Tyler Dauwalder, tyler@dauwalder.net.
4*c530d46cSJérôme Duval  * Distributed under the terms of the MIT License.
5*c530d46cSJérôme Duval  */
6c039b2c6STyler Dauwalder #ifndef _UDF_RECOGNITION_H
7c039b2c6STyler Dauwalder #define _UDF_RECOGNITION_H
8c039b2c6STyler Dauwalder 
9c039b2c6STyler Dauwalder /*! \file Recognition.h
10c039b2c6STyler Dauwalder */
11c039b2c6STyler Dauwalder 
129c6a0588STyler Dauwalder #include "UdfStructures.h"
13c039b2c6STyler Dauwalder #include "UdfDebug.h"
14c039b2c6STyler Dauwalder 
15c039b2c6STyler Dauwalder status_t udf_recognize(int device, off_t offset, off_t length,
16c039b2c6STyler Dauwalder 									uint32 blockSize, uint32 &blockShift,
17*c530d46cSJérôme Duval 									primary_volume_descriptor &primaryVolumeDescriptor,
189b8775eaSTyler Dauwalder 									logical_volume_descriptor &logicalVolumeDescriptor,
191379cacaSTyler Dauwalder 									partition_descriptor partitionDescriptors[],
20c039b2c6STyler Dauwalder 									uint8 &partitionDescriptorCount);
21c039b2c6STyler Dauwalder 
22c039b2c6STyler Dauwalder #endif	// _UDF_RECOGNITION_H
23