s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives
[bbaumbach/samba-autobuild/.git] / source3 / lib / util_uuid.c
index 656ba2a57cb16bbed501ac949ddd145ea38945e9..225ac72c6c985ac962972f277284c9e21a093359 100644 (file)
@@ -38,16 +38,3 @@ void smb_uuid_unpack(const UUID_FLAT in, struct GUID *uu)
        memcpy(uu->node, in.info+10, 6);
 }
 
-/*****************************************************************
- Return the binary string representation of a GUID.
- Caller must free.
-*****************************************************************/
-
-char *guid_binstring(TALLOC_CTX *mem_ctx, const struct GUID *guid)
-{
-       UUID_FLAT guid_flat;
-
-       smb_uuid_pack(*guid, &guid_flat);
-
-       return binary_string_rfc2254(mem_ctx, guid_flat.info, UUID_FLAT_SIZE);
-}