Subversion Repositories SvarDOS

Rev

Rev 250 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 250 Rev 259
Line 3... Line 3...
3
 * Copyright (C) 2013-2021 Mateusz Viste
3
 * Copyright (C) 2013-2021 Mateusz Viste
4
 */
4
 */
5
 
5
 
6
#ifndef showinst_h_sentinel
6
#ifndef showinst_h_sentinel
7
  #define showinst_h_sentinel
7
  #define showinst_h_sentinel
-
 
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
 
8
  void pkg_freeflist(struct flist_t *flist);
14
  void pkg_freeflist(struct flist_t *flist);
9
  struct flist_t *pkg_loadflist(const char *pkgname, const char *dosdir);
15
  struct flist_t *pkg_loadflist(const char *pkgname, const char *dosdir);
10
  int showinstalledpkgs(const char *filterstr, const char *dosdir);
16
  int showinstalledpkgs(const char *filterstr, const char *dosdir);
11
  int listfilesofpkg(const char *pkgname, const char *dosdir);
17
  int listfilesofpkg(const char *pkgname, const char *dosdir);
12
#endif
18
#endif