Ying-Chun Liu (PaulLiu) | cc96a1d | 2022-11-08 14:17:29 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Duncan Hare Copyright 2017 |
| 4 | */ |
| 5 | |
| 6 | /** |
| 7 | * wget_start() - begin wget |
| 8 | */ |
| 9 | void wget_start(void); |
| 10 | |
| 11 | enum wget_state { |
| 12 | WGET_CLOSED, |
| 13 | WGET_CONNECTING, |
| 14 | WGET_CONNECTED, |
| 15 | WGET_TRANSFERRING, |
| 16 | WGET_TRANSFERRED |
| 17 | }; |
| 18 | |
| 19 | #define DEBUG_WGET 0 /* Set to 1 for debug messages */ |
Ying-Chun Liu (PaulLiu) | cc96a1d | 2022-11-08 14:17:29 +0800 | [diff] [blame] | 20 | #define WGET_RETRY_COUNT 30 |
| 21 | #define WGET_TIMEOUT 2000UL |