Rev 995 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* This file is part of pkginst
* Copyright (C) 2012-2022 Mateusz Viste
*
* It contains a few helper function...
*/
#ifndef helpers_sentinel
#define helpers_sentinel
#include "loadconf.h" /* required for the customdirs struct */
void slash2backslash(char *str);
char *fdnpkg_strcasestr(const char *s, const char *find);
void mkpath(char *dirs);
char *computelocalpath(char *longfilename, char *respath, const char *dosdir, const struct customdirs *dirlist);
void removeDoubleBackslashes(char *str);
char *getfext(char *fname);
int freadtokval(FILE *fd, char *line, size_t maxlen, char **val, char delim);
#endif