Skip to content
Newer
Older
100644 52 lines (43 sloc) 1.79 KB
8d62764 Add GPL
James Bowes authored May 16, 2008
1 /*
2 * Low: a yum-like package manager
3 *
4 * Copyright (C) 2008 James Bowes <jbowes@dangerouslyinc.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */
21
c095c47 'list installed' works (but is ugly)
James Bowes authored May 16, 2008
22
23 #include "low-repo.h"
24 #include "low-package.h"
25
26 #ifndef _LOW_REPO_RPMDB_H_
27 #define _LOW_REPO_RPMDB_H_
28
9a74754 Convert leading whitespace to tabs
James Bowes authored May 17, 2008
29 LowRepo * low_repo_rpmdb_initialize (void);
30 void low_repo_rpmdb_shutdown (LowRepo *repo);
c095c47 'list installed' works (but is ugly)
James Bowes authored May 16, 2008
31
9a74754 Convert leading whitespace to tabs
James Bowes authored May 17, 2008
32 LowPackageIter * low_repo_rpmdb_list_all (LowRepo *repo);
33 LowPackageIter * low_repo_rpmdb_list_by_name (LowRepo *repo,
34 const char *name);
35 LowPackageIter * low_repo_rpmdb_search_provides (LowRepo *repo,
36 const char *provides);
37 LowPackageIter * low_repo_rpmdb_search_requires (LowRepo *repo,
38 const char *requires);
25dc5be Implement 'whatconflicts'
James Bowes authored May 18, 2008
39 LowPackageIter * low_repo_rpmdb_search_conflicts (LowRepo *repo,
40 const char *conflicts);
d64d9b4 Fix up whitespace (yes, I'm pathetic)
James Bowes authored May 18, 2008
41 LowPackageIter * low_repo_rpmdb_search_obsoletes (LowRepo *repo,
42 const char *obsoletes);
828968d Partial filelists searching for provides
James Bowes authored May 18, 2008
43 LowPackageIter * low_repo_rpmdb_search_files (LowRepo *repo,
44 const char *file);
c095c47 'list installed' works (but is ugly)
James Bowes authored May 16, 2008
45
8d3c36a Implement search command
James Bowes authored May 18, 2008
46 LowPackageIter * low_repo_rpmdb_generic_search (LowRepo *repo,
47 const char *querystr);
48
c095c47 'list installed' works (but is ugly)
James Bowes authored May 16, 2008
49 #endif /* _LOW_REPO_RPMDB_H_ */
b398284 Add vim modelines
James Bowes authored May 17, 2008
50
51 /* vim: set ts=8 sw=8 noet: */
Something went wrong with that request. Please try again.