219 |
mateuszvis |
1 |
/*
|
225 |
mateuszvis |
2 |
* This file is part of SvarDOS
|
|
|
3 |
* Copyright (C) 2012-2021 Mateusz Viste
|
219 |
mateuszvis |
4 |
*/
|
|
|
5 |
|
|
|
6 |
#ifndef pkginst_sentinel
|
|
|
7 |
#define pkginst_sentinel
|
|
|
8 |
|
|
|
9 |
#include "loadconf.h" /* required for struct customdirs */
|
|
|
10 |
|
225 |
mateuszvis |
11 |
int is_package_installed(char *pkgname, char *dosdir);
|
|
|
12 |
struct ziplist *pkginstall_preparepackage(char *pkgname, char *localfile, int nosourceflag, FILE **zipfd, char *dosdir, struct customdirs *dirlist, char *buffmem1k);
|
|
|
13 |
int pkginstall_installpackage(char *pkgname, char *dosdir, struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
|
|
|
14 |
int validate_package_not_installed(char *pkgname, char *dosdir);
|
219 |
mateuszvis |
15 |
|
|
|
16 |
#endif
|