Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7713578
libewf_media_values.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
2 KB
Referenced Files
None
Subscribers
None
libewf_media_values.h
View Options
/*
* Media values functions
*
* Copyright (c) 2006-2011, Joachim Metz <jbmetz@users.sourceforge.net>
*
* Refer to AUTHORS for acknowledgements.
*
* This software is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this software. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined( _LIBEWF_MEDIA_VALUES_H )
#define _LIBEWF_MEDIA_VALUES_H
#include <common.h>
#include <memory.h>
#include <types.h>
#include <liberror.h>
#if defined( __cplusplus )
extern "C" {
#endif
typedef struct libewf_media_values libewf_media_values_t;
/* Additional subhandle for media specific parameters
*/
struct libewf_media_values
{
/* The media size
*/
size64_t media_size;
/* The size of an individual chunk
*/
size32_t chunk_size;
/* The number of sectors per chunk
*/
uint32_t sectors_per_chunk;
/* The number of bytes per sector
*/
uint32_t bytes_per_sector;
/* The number of chunks
*/
uint32_t number_of_chunks;
/* The number of sectors
*/
uint64_t number_of_sectors;
/* The number of sectors to use as error granularity
*/
uint32_t error_granularity;
/* The media type
*/
uint8_t media_type;
/* The media flags
*/
uint8_t media_flags;
/* The GUID of the acquiry system
*/
uint8_t guid[ 16 ];
};
int libewf_media_values_initialize(
libewf_media_values_t **media_values,
liberror_error_t **error );
int libewf_media_values_free(
libewf_media_values_t **media_values,
liberror_error_t **error );
int libewf_media_values_clone(
libewf_media_values_t **destination_media_values,
libewf_media_values_t *source_media_values,
liberror_error_t **error );
#if defined( __cplusplus )
}
#endif
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Nov 22, 12:18 AM (18 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1361705
Default Alt Text
libewf_media_values.h (2 KB)
Attached To
Mode
rXMOUNT xmount
Attached
Detach File
Event Timeline
Log In to Comment