| 58 | } |
| 59 | |
| 60 | const char* ChecksumTypeToCStr(ChecksumType type) { |
| 61 | if (type == CHECKSUM_TYPE_NONE) { |
| 62 | return "none"; |
| 63 | } |
| 64 | const ChecksumHandler* handler = FindChecksumHandler(type); |
| 65 | return (handler != NULL ? handler->name : "unknown"); |
| 66 | } |
| 67 | |
| 68 | void ListChecksumHandler(std::vector<ChecksumHandler>* vec) { |
| 69 | vec->clear(); |
no test coverage detected