Subversion Repositories SvarDOS

Rev

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

Rev Author Line No. Line
219 mateuszvis 1
/*
268 mateuszvis 2
 * This file is part of pkg (SvarDOS)
228 mateuszvis 3
 * Copyright (C) 2013-2021 Mateusz Viste
219 mateuszvis 4
 */
5
 
6
#ifndef showinst_h_sentinel
7
  #define showinst_h_sentinel
259 mateuszvis 8
 
9
  struct flist_t {
10
    struct flist_t *next;
11
    char fname[1]; /* this must be the last item in the structure, it will be expanded to fit the filename */
12
  };
13
 
219 mateuszvis 14
  void pkg_freeflist(struct flist_t *flist);
232 mateuszvis 15
  struct flist_t *pkg_loadflist(const char *pkgname, const char *dosdir);
250 mateuszvis 16
  int showinstalledpkgs(const char *filterstr, const char *dosdir);
242 mateuszvis 17
  int listfilesofpkg(const char *pkgname, const char *dosdir);
219 mateuszvis 18
#endif