1/* 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 WGET_RETRY_COUNT 30 21#define WGET_TIMEOUT 2000UL 22