summaryrefslogtreecommitdiff
path: root/query.h
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-10-27 05:41:02 +0000
committerewt <devnull@localhost>1998-10-27 05:41:02 +0000
commit62efcbd3fc18b322d1cb236f0ea4cf7dc9099beb (patch)
treeb723c905545dfcc478e84e311dfd6d1bf2fe4c2d /query.h
parent2796491ba3a7b3047fbb24f469d31ded77e274fd (diff)
downloadlibrpm-tizen-62efcbd3fc18b322d1cb236f0ea4cf7dc9099beb.tar.gz
librpm-tizen-62efcbd3fc18b322d1cb236f0ea4cf7dc9099beb.tar.bz2
librpm-tizen-62efcbd3fc18b322d1cb236f0ea4cf7dc9099beb.zip
1) split query option parsing into popt subtables
2) moved query code into rpmlib CVS patchset: 2502 CVS date: 1998/10/27 05:41:02
Diffstat (limited to 'query.h')
-rw-r--r--query.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/query.h b/query.h
deleted file mode 100644
index 744cdd9d7..000000000
--- a/query.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef H_QUERY
-#define H_QUERY
-
-#include <rpmlib.h>
-
-enum querysources { QUERY_PATH, QUERY_PACKAGE, QUERY_ALL, QUERY_RPM,
- QUERY_GROUP, QUERY_WHATPROVIDES, QUERY_WHATREQUIRES,
- QUERY_DBOFFSET, QUERY_TRIGGEREDBY };
-
-#define QUERY_FOR_LIST (1 << 1)
-#define QUERY_FOR_STATE (1 << 2)
-#define QUERY_FOR_DOCS (1 << 3)
-#define QUERY_FOR_CONFIG (1 << 4)
-#define QUERY_FOR_DUMPFILES (1 << 8)
-
-int doQuery(char * prefix, enum querysources source, int queryFlags,
- char * arg, char * queryFormat);
-void queryPrintTags(void);
-
-/* 0 found matches */
-/* 1 no matches */
-/* 2 error */
-int findPackageByLabel(rpmdb db, char * arg, dbiIndexSet * matches);
-
-#endif