Page MenuHomePhabricator

libodraw_sector_range.h
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

libodraw_sector_range.h

/*
* Sector range functions
*
* Copyright (c) 2010-2012, 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( _LIBODRAW_SECTOR_RANGE_H )
#define _LIBODRAW_SECTOR_RANGE_H
#include <common.h>
#include <types.h>
#if defined( __cplusplus )
extern "C" {
#endif
typedef struct libodraw_sector_range libodraw_sector_range_t;
struct libodraw_sector_range
{
/* The start sector
*/
uint64_t start_sector;
/* The end sector
*/
uint64_t end_sector;
/* The number of sectors
*/
uint64_t number_of_sectors;
};
int libodraw_sector_range_initialize(
libodraw_sector_range_t **sector_range,
liberror_error_t **error );
int libodraw_sector_range_free(
libodraw_sector_range_t **sector_range,
liberror_error_t **error );
int libodraw_sector_range_get(
libodraw_sector_range_t *sector_range,
uint64_t *start_sector,
uint64_t *number_of_sectors,
liberror_error_t **error );
int libodraw_sector_range_set(
libodraw_sector_range_t *sector_range,
uint64_t start_sector,
uint64_t number_of_sectors,
liberror_error_t **error );
#if defined( __cplusplus )
}
#endif
#endif

File Metadata

Mime Type
text/x-c
Expires
Fri, Oct 10, 11:32 PM (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1339925
Default Alt Text
libodraw_sector_range.h (1 KB)

Event Timeline