25static const char *
UUID_1 =
"6021b21e-894e-43ff-8317-1ca891c1c49b";
26static const char *
UUID_1_UC =
"6021B21E-894E-43FF-8317-1CA891C1C49B";
27static const char *
UUID_1_MIXED =
"6021b21e-894E-43fF-8317-1CA891C1c49b";
28static const char *
UUID_1_URN =
"urn:uuid:6021b21e-894e-43ff-8317-1ca891c1c49b";
30 0x83, 0x17, 0x1c, 0xa8, 0x91, 0xc1, 0xc4, 0x9b};
32static const AVUUID UUID_NIL = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
35static const char *
UUID_BAD_1 =
"16a2c9f8-afbc-4767-8621-8cb2b27599";
36static const char *
UUID_BAD_2 =
"75df62c2999b4bd38c9d8058fcde9123";
37static const char *
UUID_BAD_3 =
"a1b9a05e-f1d1-464g-a951-1ba0a374f02";
38static const char *
UUID_BAD_4 =
"279c66d432-7b39-41d5-966f-5e8138265c20";
40int main(
int argc,
char **argv)
43 AVUUID uuid2 = {0x32, 0xc7, 0x00, 0xc4, 0xd5, 0xd7, 0x42, 0x0,
44 0x93, 0xc0, 0x3b, 0x6d, 0xea, 0x1b, 0x20, 0x5b};
static const char * UUID_1_UC
static const char * UUID_1_URN
static const char * UUID_BAD_2
static const AVUUID UUID_NIL
static const char * UUID_BAD_4
static const char * UUID_1
static const AVUUID UUID_1_BYTES
static const char * UUID_BAD_3
static const char * UUID_1_MIXED
static const char * UUID_BAD_1
int av_uuid_parse(const char *in, AVUUID uu)
Parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.
int av_uuid_urn_parse(const char *in, AVUUID uu)
Parses a URN representation of a UUID, as specified at IETF RFC 4122, into an AVUUID.
int av_uuid_parse_range(const char *in_start, const char *in_end, AVUUID uu)
Parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.
UUID parsing and serialization utilities.
static void av_uuid_copy(AVUUID dest, const AVUUID src)
Copies the bytes of src into dest.
static int av_uuid_equal(const AVUUID uu1, const AVUUID uu2)
Compares two UUIDs for equality.
static void av_uuid_nil(AVUUID uu)
Sets a UUID to the nil UUID, i.e.
uint8_t AVUUID[AV_UUID_LEN]