Rev 219 | Rev 237 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* This file is part of pkginst.
*
* Copyright (C) 2012-2021 Mateusz Viste
*/
#ifndef loadrepolist_sentinel
#define loadrepolist_sentinel
struct customdirs {
char *name;
char *location;
struct customdirs *next;
};
/* 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(struct customdirs **dirlist);
#endif