blob: da0920de1182b3684579b5ecdc73da7b56791255 [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 */
20#define SERVER_PORT 80
21#define WGET_RETRY_COUNT 30
22#define WGET_TIMEOUT 2000UL