diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2010-09-30 14:07:33 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2010-09-30 14:07:33 +0000 |
commit | f4fd41552d79eb7a681c687b1d00872300c5c29e (patch) | |
tree | ec135890dcdf998b005104fd4274eba42c0774fe /lib/uuid/uuid.h | |
parent | 4bbadbe1cfbb6855f31a99432661c39c74d4288e (diff) | |
download | lvm2-f4fd41552d79eb7a681c687b1d00872300c5c29e.tar.gz lvm2-f4fd41552d79eb7a681c687b1d00872300c5c29e.tar.xz lvm2-f4fd41552d79eb7a681c687b1d00872300c5c29e.zip |
Add id_format_and_copy() common function and call from _uuid_disp.
Add supporting uuid function to allocate memory and call id_write_format.
Call id_format_and_copy from _uuid_disp.
Diffstat (limited to 'lib/uuid/uuid.h')
-rw-r--r-- | lib/uuid/uuid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/uuid/uuid.h b/lib/uuid/uuid.h index 00296393..5c8382d7 100644 --- a/lib/uuid/uuid.h +++ b/lib/uuid/uuid.h @@ -54,4 +54,6 @@ int id_write_format(const struct id *id, char *buffer, size_t size); */ int id_read_format(struct id *id, const char *buffer); +char *id_format_and_copy(struct dm_pool *mem, const struct id *id); + #endif |