65 const char *data,
unsigned int size)
74 const char *error_msg)
void download_context_destroy(download_context *ctx)
Destroy a download context.
Core download context (interface)
nserror
Enumeration of error codes.
static struct gui_download_table download_table
static nserror gui_download_window_data(struct gui_download_window *dw, const char *data, unsigned int size)
static void gui_download_window_error(struct gui_download_window *dw, const char *error_msg)
struct gui_download_table * monkey_download_table
static void gui_download_window_done(struct gui_download_window *dw)
static struct gui_download_window * dw_ring
static struct gui_download_window * gui_download_window_create(download_context *ctx, struct gui_window *parent)
Interface to platform-specific download operations.
int moutf(enum monkey_output_type mout_type, const char *fmt,...)
#define RING_REMOVE(ring, element)
Remove the given element from the specified ring.
#define RING_INSERT(ring, element)
Insert the given item into the specified ring.
A context for a download.
function table for download windows.
struct gui_download_window *(* create)(struct download_context *ctx, struct gui_window *parent)
context for each download.
struct gui_download_window * r_next
struct download_context * ctx
Associated context, or 0 if the fetch has completed or aborted.
struct gui_download_window * r_prev
first entry in window list