Rev 269 | Go to most recent revision | Blame | Last modification | View Log | RSS feed
/*
* This file is part of pkginst
* Copyright (C) 2012-2021 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);
void strtolower(char *mystring);
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