]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - libxfs/init.h
Fix up warnings being reported by mkfs when running QA with an external log on a...
[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
9440d84d
NS
21struct stat64;
22
93d9f139 23extern int platform_check_ismounted (char *path, char *block,
9440d84d 24 struct stat64 *sptr, int verbose);
93d9f139 25extern int platform_check_iswritable (char *path, char *block,
9440d84d 26 struct stat64 *sptr, int fatal);
f02037ce 27extern void platform_findsizes (char *path, int fd, long long *sz, int *bsz);
76956054 28extern void platform_set_blocksize (int fd, char *path, dev_t device, int bsz);
ac419944 29extern void platform_flush_device (int fd, dev_t device);
cb5b3ef4 30extern char *platform_findrawpath(char *path);
b74a1f6a
NS
31extern char *platform_findrawpath (char *path);
32extern char *platform_findblockpath (char *path);
33extern int platform_direct_blockdev (void);
34extern int platform_align_blockdev (void);
35extern int platform_aio_init (int aio_count);
36
9440d84d 37#endif /* LIBXFS_INIT_H */