| 532 | } |
| 533 | |
| 534 | void |
| 535 | get_nhuuid(void) |
| 536 | { |
| 537 | UUID binuuid; |
| 538 | unsigned char *stmp; |
| 539 | RPC_STATUS rpcstatus; |
| 540 | |
| 541 | if (svn.nhuuid[0]) |
| 542 | return; |
| 543 | |
| 544 | rpcstatus = UuidCreate(&binuuid); |
| 545 | if (rpcstatus == RPC_S_OK) { |
| 546 | rpcstatus = UuidToStringA(&binuuid, &stmp); |
| 547 | if (rpcstatus == RPC_S_OK) { |
| 548 | Snprintf(svn.nhuuid, sizeof svn.nhuuid, "%s", (char *) stmp); |
| 549 | RpcStringFree(&stmp); |
| 550 | } |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | void |
| 555 | free_nhuuid(void) |
nothing calls this directly
no outgoing calls
no test coverage detected