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
16namespace Udf {
17
18status_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);
23status_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