summaryrefslogtreecommitdiff
path: root/cliutils.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-08-20 12:08:10 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-08-20 13:49:18 +0300
commitb217529967f972225dc9b7d2e37860885fde1ee1 (patch)
tree8697d585eb08ca8a692c313540f47359d24a1e27 /cliutils.h
parent04b1816f008d465ea5d7fa686e092280c3f104c3 (diff)
downloadrpm-b217529967f972225dc9b7d2e37860885fde1ee1.tar.gz
rpm-b217529967f972225dc9b7d2e37860885fde1ee1.tar.bz2
rpm-b217529967f972225dc9b7d2e37860885fde1ee1.zip
Add a convenience library for stuff common cli-bits into
Diffstat (limited to 'cliutils.h')
-rw-r--r--cliutils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cliutils.h b/cliutils.h
new file mode 100644
index 000000000..15979dc66
--- /dev/null
+++ b/cliutils.h
@@ -0,0 +1,13 @@
+#ifndef _CLIUTIL_H
+#define _CLIUTIL_H
+
+#include <stdio.h>
+#include <popt.h>
+#include <rpm/rpmutil.h>
+
+RPM_GNUC_NORETURN
+void argerror(const char * desc);
+
+void printUsage(poptContext con, FILE * fp, int flags);
+
+#endif /* _CLIUTIL_H */