1/*	$OpenBSD: file_media.h,v 1.20 2016/01/30 17:09:11 krw Exp $	*/
2
3/*
4 * file_media.h -
5 *
6 * Written by Eryk Vershen
7 */
8
9/*
10 * Copyright 1997,1998 by Apple Computer, Inc.
11 *              All Rights Reserved
12 *
13 * Permission to use, copy, modify, and distribute this software and
14 * its documentation for any purpose and without fee is hereby granted,
15 * provided that the above copyright notice appears in all copies and
16 * that both the copyright notice and this permission notice appear in
17 * supporting documentation.
18 *
19 * APPLE COMPUTER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
20 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 * FOR A PARTICULAR PURPOSE.
22 *
23 * IN NO EVENT SHALL APPLE COMPUTER BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
24 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
25 * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT,
26 * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
27 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
28 */
29
30#ifndef __file_media__
31#define __file_media__
32
33int	read_block0(int, struct partition_map *);
34int	write_block0(int, struct partition_map *);
35
36int	read_dpme(int, uint64_t, struct entry *);
37int	write_dpme(int, uint64_t, struct entry *);
38
39#endif /* __file_media__ */
40