Subversion Repositories SvarDOS

Rev

Rev 1964 | 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
1678 mateusz.vi 3
 *  Copyright (C) 2012-2024 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
1980 mateusz.vi 12
#define PKGINST_HIDEWARN  4
259 mateuszvis 13
 
230 mateuszvis 14
int is_package_installed(const char *pkgname, const char *dosdir);
1980 mateusz.vi 15
struct ziplist *pkginstall_preparepackage(char *pkgname, const char *localfile, unsigned char flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist, char bootdrive);
16
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd, char bootdrive, unsigned char *buff15k, unsigned char flags);
219 mateuszvis 17
 
18
#endif