diff options
author | Jim McDonough <jmcd@samba.org> | 2003-10-30 17:50:56 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-10-30 17:50:56 +0000 |
commit | bff3e7feee2c9ef91a487df410327666c38602c1 (patch) | |
tree | 12fc69590c1caa40e7bcb435cdefb3ab50f2af70 /source3/lib/util_uuid.c | |
parent | 4f22327e21cc442f954a87835c377e11568d4cf4 (diff) | |
download | samba-bff3e7feee2c9ef91a487df410327666c38602c1.tar.gz samba-bff3e7feee2c9ef91a487df410327666c38602c1.tar.bz2 samba-bff3e7feee2c9ef91a487df410327666c38602c1.zip |
Nearing the end of the GUID -> struct uuid changes.
(This used to be commit 0e8fcfac702515f8870c979262bf881d1155efdc)
Diffstat (limited to 'source3/lib/util_uuid.c')
-rw-r--r-- | source3/lib/util_uuid.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/util_uuid.c b/source3/lib/util_uuid.c index 8217006e58..fe8595c8cb 100644 --- a/source3/lib/util_uuid.c +++ b/source3/lib/util_uuid.c @@ -27,13 +27,13 @@ #define TIME_OFFSET_HIGH 0x01B21DD2 #define TIME_OFFSET_LOW 0x13814000 -void smb_uuid_pack(const struct uuid *uu, UUID_FLAT *ptr) +void smb_uuid_pack(const struct uuid uu, UUID_FLAT *ptr) { - SIVAL(ptr, 0, uu->time_low); - SSVAL(ptr, 4, uu->time_mid); - SSVAL(ptr, 6, uu->time_hi_and_version); - memcpy(ptr+8, uu->clock_seq, 2); - memcpy(ptr+10, uu->node, 6); + SIVAL(ptr, 0, uu.time_low); + SSVAL(ptr, 4, uu.time_mid); + SSVAL(ptr, 6, uu.time_hi_and_version); + memcpy(ptr+8, uu.clock_seq, 2); + memcpy(ptr+10, uu.node, 6); } void smb_uuid_unpack(const UUID_FLAT in, struct uuid *uu) |