+void a_download_uninit(void);
+
+typedef enum {
+ DOWNLOAD_FILE_WRITE_ERROR = -4, // Can't write downloaded file :(
+ DOWNLOAD_HTTP_ERROR = -2,
+ DOWNLOAD_CONTENT_ERROR = -1,
+ DOWNLOAD_SUCCESS = 0,
+ DOWNLOAD_NOT_REQUIRED = 1, // Also 'successful'. e.g. Because file already exists and no time checks used
+} DownloadResult_t;