Freeciv-3.3
|
#include "fc_prehdrs.h"
#include <unistd.h>
#include <errno.h>
#include "cvercmp.h"
#include "capability.h"
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "netfile.h"
#include "registry.h"
#include "mpdb.h"
#include "download.h"
Go to the source code of this file.
Functions | |
static const char * | download_modpack_recursive (const char *URL, const struct fcmp_params *fcmp, dl_msg_callback mcb, dl_pb_callback pbcb, int recursion) |
static void | nf_cb (const char *msg, void *data) |
const char * | download_modpack (const char *URL, const struct fcmp_params *fcmp, dl_msg_callback mcb, dl_pb_callback pbcb) |
const char * | download_modpack_list (const struct fcmp_params *fcmp, modpack_list_setup_cb cb, dl_msg_callback mcb) |
const char * download_modpack | ( | const char * | URL, |
const struct fcmp_params * | fcmp, | ||
dl_msg_callback | mcb, | ||
dl_pb_callback | pbcb | ||
) |
Download modpack from a given URL
Definition at line 66 of file download.c.
Referenced by download_thread(), download_thread(), download_thread(), main(), and mpqt_worker::run().
const char * download_modpack_list | ( | const struct fcmp_params * | fcmp, |
modpack_list_setup_cb | cb, | ||
dl_msg_callback | mcb | ||
) |
Download modpack list
Definition at line 427 of file download.c.
Referenced by main(), main(), modinst_setup_widgets(), modinst_setup_widgets(), and modinst_setup_widgets().
|
static |
Download modpack and its recursive dependencies.
Definition at line 77 of file download.c.
Referenced by download_modpack(), and download_modpack_recursive().
Message callback called by netfile module when downloading files.
Definition at line 54 of file download.c.
Referenced by download_modpack_list(), and download_modpack_recursive().