blob: 253ef6316636e402a2080fa46e1b243d2daf8efa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* Copyright (C) 2016 Jo-Philipp Wich <jo@mein.io>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation
*
* This program 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.
*/
#ifndef _PROBE_H
#define _PROBE_H
#include <libubox/list.h>
struct probe_info {
struct list_head list;
char *type;
char *dev;
char *uuid;
char *label;
char *version;
};
struct probe_info * probe_path(const char *path);
struct probe_info * probe_path_libblkid(const char *path);
int make_devs(void);
#endif /* _PROBE_H */
|