Subversion Repositories SvarDOS

Rev

Rev 225 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 225 Rev 231
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);
11
int isversionnewer(char *v1, char *v2);
12
void slash2backslash(char *str);
12
void slash2backslash(char *str);
13
void backslash2slash(char *str);
13
void backslash2slash(char *str);
14
void strtolower(char *mystring);
14
void strtolower(char *mystring);
15
char *fdnpkg_strcasestr(const char *s, const char *find);
15
char *fdnpkg_strcasestr(const char *s, const char *find);
16
void mkpath(char *dirs);
16
void mkpath(char *dirs);
17
char *computelocalpath(char *longfilename, char *respath, char *dosdir, struct customdirs *dirlist);
17
char *computelocalpath(char *longfilename, char *respath, const char *dosdir, const struct customdirs *dirlist);
18
void removeDoubleBackslashes(char *str);
18
void removeDoubleBackslashes(char *str);
19
int detect_localpath(char *url);
19
int detect_localpath(char *url);
20
char *getfext(char *fname);
20
char *getfext(char *fname);
21
#endif
21
#endif
22
 
22