~ubuntu-branches/debian/stretch/lvm2/stretch

« back to all changes in this revision

Viewing changes to lib/device/device.h

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (30.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20140819153706-0p2sc6a53ef7xnvl
Tags: 2.02.109-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#define _LVM_DEVICE_H
18
18
 
19
19
#include "uuid.h"
20
 
#include "lvm-types.h"
21
20
 
22
21
#include <fcntl.h>
23
22
 
34
33
 * pointer comparisons are valid.
35
34
 */
36
35
struct device {
37
 
        struct dm_list aliases; /* struct str_list from lvm-types.h */
 
36
        struct dm_list aliases; /* struct dm_str_list */
38
37
        dev_t dev;
39
38
 
40
39
        /* private */
96
95
void dev_flush(struct device *dev);
97
96
 
98
97
struct device *dev_create_file(const char *filename, struct device *dev,
99
 
                               struct str_list *alias, int use_malloc);
 
98
                               struct dm_str_list *alias, int use_malloc);
100
99
 
101
100
/* Return a valid device name from the alias list; NULL otherwise */
102
101
const char *dev_name_confirmed(struct device *dev, int quiet);