Subversion Repositories SvarDOS

Rev

Rev 614 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 
259 mateuszvis 11
#define PKGINST_UPDATE    2
12
 
230 mateuszvis 13
int is_package_installed(const char *pkgname, const char *dosdir);
236 mateuszvis 14
struct ziplist *pkginstall_preparepackage(const char *pkgname, const char *localfile, int flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist);
15
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
219 mateuszvis 16
 
17
#endif