| 1184 | } |
| 1185 | |
| 1186 | const char* DoraXrtHttpStatusName(int status) { |
| 1187 | switch (status) { |
| 1188 | case XRT_NET_OK: |
| 1189 | return "ok"; |
| 1190 | case XRT_NET_ERROR: |
| 1191 | return "network error"; |
| 1192 | case XRT_NET_AGAIN: |
| 1193 | return "operation still pending"; |
| 1194 | case XRT_NET_TIMEOUT: |
| 1195 | return "request timed out"; |
| 1196 | case XRT_NET_CLOSED: |
| 1197 | return "connection closed"; |
| 1198 | case XRT_NET_CANCELLED: |
| 1199 | return "request cancelled"; |
| 1200 | default: |
| 1201 | return "unknown network status"; |
| 1202 | } |
| 1203 | } |
no outgoing calls
no test coverage detected