dav_create_opaquelocktoken - generates a UUID version 1 token. * Clock_sequence and node_address set to pseudo-random * numbers during init. * * Should postpend pid to account for non-seralized creation? */
| 122 | * Should postpend pid to account for non-seralized creation? |
| 123 | */ |
| 124 | static int create_token(uuid_state *st, xuuid_t *u) |
| 125 | { |
| 126 | uuid_time_t timestamp; |
| 127 | |
| 128 | get_current_time(×tamp); |
| 129 | format_uuid_v1(u, st->cs, timestamp, st->node); |
| 130 | |
| 131 | return 1; |
| 132 | } |
| 133 | |
| 134 | /* |
| 135 | * dav_create_uuid_state - seed UUID state with pseudorandom data |
no test coverage detected