]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - libxfs/init.h
xfs: xfs_rtbuf_get should check the bmapi_read results
[thirdparty/xfsprogs-dev.git] / libxfs / init.h
CommitLineData
2bd0ea18 1/*
b74a1f6a 2 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
da23017d 3 * All Rights Reserved.
9440d84d 4 *
da23017d
NS
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
2bd0ea18 7 * published by the Free Software Foundation.
9440d84d 8 *
da23017d
NS
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
9440d84d 13 *
da23017d
NS
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2bd0ea18 17 */
9440d84d
NS
18#ifndef LIBXFS_INIT_H
19#define LIBXFS_INIT_H
2bd0ea18 20
f594a0d1 21struct stat;
9440d84d 22
93d9f139 23extern int platform_check_ismounted (char *path, char *block,
f594a0d1
FJ
24 struct stat *sptr, int verbose);
25extern int platform_check_iswritable (char *path, char *block, struct stat *sptr);
edd45774 26extern int platform_set_blocksize (int fd, char *path, dev_t device, int bsz, int fatal);
ac419944 27extern void platform_flush_device (int fd, dev_t device);
cb5b3ef4 28extern char *platform_findrawpath(char *path);
b74a1f6a
NS
29extern char *platform_findrawpath (char *path);
30extern char *platform_findblockpath (char *path);
31extern int platform_direct_blockdev (void);
32extern int platform_align_blockdev (void);
2556c98b 33extern unsigned long platform_physmem(void); /* in kilobytes */
e321f629 34extern int platform_has_uuid;
b74a1f6a 35
9440d84d 36#endif /* LIBXFS_INIT_H */