version: Update to 4.08, update year to 2014
[syslinux/sherbszt.git] / extlinux / mountinfo.h
blob9cbcac12d52a9e36c6f0bf1821ec139bf04573d2
1 /* ----------------------------------------------------------------------- *
3 * Copyright 2012 Intel Corporation; All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
8 * Boston MA 02110-1301, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * ----------------------------------------------------------------------- */
13 #ifndef SYSLINUX_MOUNTINFO_H
14 #define SYSLINUX_MOUNTINFO_H
16 #include <sys/types.h>
18 struct mountinfo {
19 struct mountinfo *next;
20 struct mountinfo *parent;
21 const char *root;
22 const char *path;
23 const char *fstype;
24 const char *devpath;
25 const char *mountopt;
26 int mountid;
27 int parentid;
28 int pathlen;
29 int hidden;
30 dev_t dev;
33 const struct mountinfo *find_mount(const char *path, char **subpath);
35 #endif /* SYSLINUX_MOUNTINFO_H */