| 7 | #include "trace2.h" |
| 8 | |
| 9 | static enum protocol_version parse_protocol_version(const char *value) |
| 10 | { |
| 11 | if (!strcmp(value, "0")) |
| 12 | return protocol_v0; |
| 13 | else if (!strcmp(value, "1")) |
| 14 | return protocol_v1; |
| 15 | else if (!strcmp(value, "2")) |
| 16 | return protocol_v2; |
| 17 | else |
| 18 | return protocol_unknown_version; |
| 19 | } |
| 20 | |
| 21 | enum protocol_version get_protocol_version_config(void) |
| 22 | { |
no outgoing calls
no test coverage detected