]>
cygwin.com Git - cygwin-apps/setup.git/blob - package_db.h
08a183b2ec936f3f0f3ebcaa2f3ffbe57e9369d1
2 * Copyright (c) 2001, Robert Collins.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
16 #ifndef _PACKAGE_DB_H_
17 #define _PACKAGE_DB_H_
28 packagemeta
*getfirstpackage ();
29 packagemeta
*getnextpackage ();
30 packagemeta
*getpackagebyname (const char *);
32 int addpackage (packagemeta
&);
35 /* return an existing record if it exists, otherwise make a new one */
36 packagemeta
& registerpackage (char const *);
41 /* all seen categories */
42 static CategoryList categories
;
44 /* this gets sorted */
45 static packagemeta
**packages
;
46 static size_t packagecount
;
47 static size_t packagespace
;
50 static int installeddbread
; /* do we have to reread this */
53 #endif /* _PACKAGE_DB_H_ */
This page took 0.101385 seconds and 4 git commands to generate.