diff options
author | Alasdair Kergon <agk@redhat.com> | 2001-12-05 16:41:52 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2001-12-05 16:41:52 +0000 |
commit | 638754e559221e87fd2ab0a5c0bc8dbfa996fde8 (patch) | |
tree | 528ebd1596456ffbd952e5ea6d693fb6383567d2 /libdm/libdm-common.h | |
parent | 9ade33a235fa5fa38594a2a2ce381a62af62a511 (diff) | |
download | lvm2-638754e559221e87fd2ab0a5c0bc8dbfa996fde8.tar.gz lvm2-638754e559221e87fd2ab0a5c0bc8dbfa996fde8.tar.xz lvm2-638754e559221e87fd2ab0a5c0bc8dbfa996fde8.zip |
Various fixes & restructure to extract common code.
Diffstat (limited to 'libdm/libdm-common.h')
-rw-r--r-- | libdm/libdm-common.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libdm/libdm-common.h b/libdm/libdm-common.h new file mode 100644 index 00000000..0261557a --- /dev/null +++ b/libdm/libdm-common.h @@ -0,0 +1,16 @@ +/* + * Copyright (C) 2001 Sistina Software (UK) Limited. + * + * This file is released under the LGPL. + */ + +extern dm_log_fn _log; +#define log(msg, x...) _log(1, __FILE__, __LINE__, msg, ## x) + +extern struct target *create_target(uint64_t start, + uint64_t len, + const char *type, const char *params); + +int add_dev_node(const char *dev_name, dev_t dev); +int rm_dev_node(const char *dev_name); + |