1,7 → 1,7 |
/* |
* This file is part of FDNPKG. |
* This file is part of pkginst. |
* |
* Copyright (C) 2012-2016 Mateusz Viste |
* Copyright (C) 2012-2021 Mateusz Viste |
*/ |
|
#ifndef loadrepolist_sentinel |
13,11 → 13,11 |
struct customdirs *next; |
}; |
|
/* Loads the list of repositories from the config file specified in %FDNPKG%. |
* Returns the amount of repositories found (and loaded) on success, or -1 on failure. */ |
int loadconf(char *cfgfile, char **repolist, int maxreps, unsigned long *crc32val, long *maxcachetime, struct customdirs **dirlist, int *nosourceflag, char **proxy, int *proxyport, char **mapdrv); |
/* Loads the list of custom directories from the config file specified in %FDNPKG%. |
* Returns 0 on success, or -1 on failure. */ |
int loadconf(char *cfgfile, struct customdirs **dirlist, int *flags); |
|
/* Free the memory allocated at configuration load. */ |
void freeconf(char **repolist, int repscount, struct customdirs **dirlist); |
void freeconf(struct customdirs **dirlist); |
|
#endif |