Subversion Repositories SvarDOS

Rev

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

Rev 252 Rev 255
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
int isversionnewer(char *v1, char *v2);
-
 
12
void slash2backslash(char *str);
11
void slash2backslash(char *str);
13
void strtolower(char *mystring);
12
void strtolower(char *mystring);
14
char *fdnpkg_strcasestr(const char *s, const char *find);
13
char *fdnpkg_strcasestr(const char *s, const char *find);
15
void mkpath(char *dirs);
14
void mkpath(char *dirs);
16
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);
17
void removeDoubleBackslashes(char *str);
16
void removeDoubleBackslashes(char *str);
18
int detect_localpath(char *url);
17
int detect_localpath(char *url);
19
char *getfext(char *fname);
18
char *getfext(char *fname);
20
int freadtokval(FILE *fd, char *line, size_t maxlen, char **val, char delim);
19
int freadtokval(FILE *fd, char *line, size_t maxlen, char **val, char delim);
21
#endif
20
#endif
22
 
21