summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-02-16 05:34:22 +0000
committerroot <devnull@localhost>1996-02-16 05:34:22 +0000
commit3f7ef2aa1f6356dd7b710c00fe20dc4da94d89dc (patch)
treec0cfbff4049546e7126aa2146c7dac537f7a328a /rpmio
parent4dbff32aece57dd3a48adbf6f20b13d6a5421bf6 (diff)
downloadrpm-3f7ef2aa1f6356dd7b710c00fe20dc4da94d89dc.tar.gz
rpm-3f7ef2aa1f6356dd7b710c00fe20dc4da94d89dc.tar.bz2
rpm-3f7ef2aa1f6356dd7b710c00fe20dc4da94d89dc.zip
added getVerbosity()
CVS patchset: 294 CVS date: 1996/02/16 05:34:22
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/messages.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpmio/messages.c b/rpmio/messages.c
index f4d9582a9..5f1ed3665 100644
--- a/rpmio/messages.c
+++ b/rpmio/messages.c
@@ -13,6 +13,11 @@ void setVerbosity(int level) {
minLevel = level;
}
+int getVerbosity(void)
+{
+ return minLevel;
+}
+
int isDebug(void)
{
return (minLevel <= MESS_DEBUG);