aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/uuid.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-06-12 20:14:44 +0000
committerMark Johnston <markj@FreeBSD.org>2017-06-12 20:14:44 +0000
commit56060a373e3f64e10e9b0d9291ae1afcd898bb62 (patch)
tree6a5e8dddf9a49d0fcfc3ee944c6f63330d13e832 /sys/sys/uuid.h
parent2fcfba285e0b93761e1989d025e1c14fb4fcfe3b (diff)
downloadsrc-56060a373e3f64e10e9b0d9291ae1afcd898bb62.tar.gz
src-56060a373e3f64e10e9b0d9291ae1afcd898bb62.zip
Add a helper function for comparing struct uuids.
Submitted by: Domagoj Stolfa <domagoj.stolfa@gmail.com> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11138
Notes
Notes: svn path=/head/; revision=319868
Diffstat (limited to 'sys/sys/uuid.h')
-rw-r--r--sys/sys/uuid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h
index 0748f6114853..97971fd79112 100644
--- a/sys/sys/uuid.h
+++ b/sys/sys/uuid.h
@@ -65,6 +65,7 @@ int snprintf_uuid(char *, size_t, struct uuid *);
int printf_uuid(struct uuid *);
int sbuf_printf_uuid(struct sbuf *, struct uuid *);
int parse_uuid(const char *, struct uuid *);
+int uuidcmp(const struct uuid *, const struct uuid *);
void be_uuid_dec(void const *buf, struct uuid *uuid);
void be_uuid_enc(void *buf, struct uuid const *uuid);