summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Dronnikov2009-10-15 09:24:25 +0200
committerDenys Vlasenko2009-10-15 09:24:25 +0200
commitdb67a20595be279e7db9f5f8e27bd94534efb8d4 (patch)
tree0263d0ac18ff70781d9a3074f12f5abcd2e18dfc /include
parent7eabffafa5b6faaaa87ff8ba0efbf637aaa364e8 (diff)
downloadbusybox-db67a20595be279e7db9f5f8e27bd94534efb8d4.zip
busybox-db67a20595be279e7db9f5f8e27bd94534efb8d4.tar.gz
move generate_uuid from mkswap to libbb
Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index be175d7..6e629d1 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -701,6 +701,9 @@ const char *make_human_readable_str(unsigned long long size,
/* Put a string of hex bytes ("1b2e66fe"...), return advanced pointer */
char *bin2hex(char *buf, const char *cp, int count) FAST_FUNC;
+/* Generate a UUID */
+void generate_uuid(uint8_t *buf) FAST_FUNC;
+
/* Last element is marked by mult == 0 */
struct suffix_mult {
char suffix[4];