Subversion Repositories SvarDOS

Rev

Rev 270 | Rev 995 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 270 Rev 614
1
/*
1
/*
2
 * This file is part of pkginst
2
 * This file is part of pkginst
3
 * Copyright (C) 2012-2021 Mateusz Viste
3
 * Copyright (C) 2012-2021 Mateusz Viste
4
 *
4
 *
5
 * It contains a few helper function...
5
 * It contains a few helper function...
6
 */
6
 */
7
 
7
 
8
#ifndef helpers_sentinel
8
#ifndef helpers_sentinel
9
#define helpers_sentinel
9
#define helpers_sentinel
10
#include "loadconf.h"   /* required for the customdirs struct */
10
#include "loadconf.h"   /* required for the customdirs struct */
11
void slash2backslash(char *str);
11
void slash2backslash(char *str);
12
void strtolower(char *mystring);
12
void strtolower(char *mystring);
13
char *fdnpkg_strcasestr(const char *s, const char *find);
13
char *fdnpkg_strcasestr(const char *s, const char *find);
14
void mkpath(char *dirs);
14
void mkpath(char *dirs);
15
char *computelocalpath(char *longfilename, char *respath, const char *dosdir, const struct customdirs *dirlist);
15
char *computelocalpath(char *longfilename, char *respath, const char *dosdir, const struct customdirs *dirlist);
16
void removeDoubleBackslashes(char *str);
16
void removeDoubleBackslashes(char *str);
17
char *getfext(char *fname);
17
char *getfext(char *fname);
18
int freadtokval(FILE *fd, char *line, size_t maxlen, char **val, char delim);
18
int freadtokval(FILE *fd, char *line, size_t maxlen, char **val, char delim);
19
#endif
19
#endif
20
 
20