13#ifndef FC__MODPACK_DOWNLOAD_H
14#define FC__MODPACK_DOWNLOAD_H
23#define MODPACKDL_SUFFIX ".mpdl"
25#define MODPACK_CAPSTR "+Freeciv-3.2-mpdl"
26#define MODLIST_CAPSTR "+Freeciv-3.2-modlist"
28#define FCMP_CONTROLD ".control"
void(* modpack_list_setup_cb)(const char *name, const char *URL, const char *version, const char *license, enum modpack_type type, const char *subtype, const char *notes)
void(* dl_msg_callback)(const char *msg)
void(* dl_pb_callback)(int downloaded, int max)
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)