Subversion Repositories SvarDOS

Rev

Rev 1678 | Rev 1892 | Go to most recent revision | 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
12
 
230 mateuszvis 13
int is_package_installed(const char *pkgname, const char *dosdir);
1880 mateusz.vi 14
struct ziplist *pkginstall_preparepackage(char *pkgname, const char *localfile, int flags, FILE **zipfd, const char *dosdir, const struct customdirs *dirlist);
236 mateuszvis 15
int pkginstall_installpackage(const char *pkgname, const char *dosdir, const struct customdirs *dirlist, struct ziplist *ziplinkedlist, FILE *zipfd);
219 mateuszvis 16
 
17
#endif