A callback for downloading files @param url the URL of the file to be downloaded @param localpath the directory to which the file should be downloaded @param force whether to force an update, even if the file is the same @return 0 on success, 1 if the file exists and is identical, -1 on error.

extern (C)
alias alpm_cb_fetch = int function
const(char)* url
const(char)* localpath
int force