blob: 6714f7ea573104b1217bf5348298253886497f95 [file] [log] [blame]
Ying-Chun Liu (PaulLiu)cfbae482022-11-08 14:17:29 +08001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Duncan Hare Copyright 2017
4 */
5
6/**
7 * wget_start() - begin wget
8 */
9void wget_start(void);
10
11enum 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)cfbae482022-11-08 14:17:29 +080020#define WGET_RETRY_COUNT 30
21#define WGET_TIMEOUT 2000UL