|
rpm 5.3.12
|

Go to the source code of this file.
Functions | |
| int | rpmuuidMake (int version, const char *ns, const char *data, char *buf_str, unsigned char *buf_bin) |
| Generate a Universally Unique Identifier (UUID). | |
| int rpmuuidMake | ( | int | version, |
| const char * | ns, | ||
| const char * | data, | ||
| char * | buf_str, | ||
| unsigned char * | buf_bin | ||
| ) |
Generate a Universally Unique Identifier (UUID).
| version | UUID version 1, 3, 4 or 5 |
| ns | namespace UUID in string representation or symbolic name (UUID version 3 and 5 only) |
| data | data to digest (UUID version 3 and 5 only) |
| buf_str | buffer of at least 37 bytes (UUID_LEN_STR+1) to store UUID in string representation |
| buf_bin | buffer of at least 16 bytes (UUID_LEN_BIN) to store UUID in binary representation |
Definition at line 23 of file rpmuuid.c.
References _, rpmlog(), RPMLOG_ERR, and uuid_ns.
Referenced by doFoo(), str2uuid(), and tv2uuidv1().
1.7.4