Subversion Repositories SvarDOS

Rev

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

Rev 236 Rev 259
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
-
 
13
 
11
int is_package_installed(const char *pkgname, const char *dosdir);
14
int is_package_installed(const char *pkgname, const char *dosdir);
12
struct ziplist *pkginstall_preparepackage(const char *pkgname, const char *localfile, int flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist);
15
struct ziplist *pkginstall_preparepackage(const char *pkgname, const char *localfile, int flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist);
13
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
16
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
14
 
17
 
15
#endif
18
#endif
16
 
19