Subversion Repositories SvarDOS

Rev

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

Rev 259 Rev 268
1
/*
1
/*
2
 *  This file is part of SvarDOS
2
 *  This file is part of SvarDOS
3
 *  Copyright (C) 2012-2021 Mateusz Viste
3
 *  Copyright (C) 2012-2021 Mateusz Viste
4
 */
4
 */
5
 
5
 
6
#ifndef pkginst_sentinel
6
#ifndef pkginst_sentinel
7
#define pkginst_sentinel
7
#define pkginst_sentinel
8
 
8
 
9
#include "loadconf.h" /* required for struct customdirs */
9
#include "loadconf.h" /* required for struct customdirs */
10
 
10
 
11
#define PKGINST_SKIPLINKS 1
-
 
12
#define PKGINST_UPDATE    2
11
#define PKGINST_UPDATE    2
13
 
12
 
14
int is_package_installed(const char *pkgname, const char *dosdir);
13
int is_package_installed(const char *pkgname, const char *dosdir);
15
struct ziplist *pkginstall_preparepackage(const char *pkgname, const char *localfile, int flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist);
14
struct ziplist *pkginstall_preparepackage(const char *pkgname, const char *localfile, int flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist);
16
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
15
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
17
 
16
 
18
#endif
17
#endif
19
 
18