summaryrefslogtreecommitdiff
path: root/lib/rpmte.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-28 23:57:36 +0000
committerjbj <devnull@localhost>2004-10-28 23:57:36 +0000
commit37718380bf1a5503555b3ac7575570ad68fe2fa1 (patch)
treecb91b80dcbbe610bb994c09b97c4eb312ae36d3a /lib/rpmte.c
parente609515b336384c95b59e7f87c3059119fa0b543 (diff)
downloadrpm-37718380bf1a5503555b3ac7575570ad68fe2fa1.tar.gz
rpm-37718380bf1a5503555b3ac7575570ad68fe2fa1.tar.bz2
rpm-37718380bf1a5503555b3ac7575570ad68fe2fa1.zip
- bump popt to version to 1.10.
CVS patchset: 7519 CVS date: 2004/10/28 23:57:36
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r--lib/rpmte.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index dab00a8cf..e4961dc53 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -339,6 +339,21 @@ int rpmteSetDepth(rpmte te, int ndepth)
return odepth;
}
+int rpmteBreadth(rpmte te)
+{
+ return (te != NULL ? te->depth : 0);
+}
+
+int rpmteSetBreadth(rpmte te, int nbreadth)
+{
+ int obreadth = 0;
+ if (te != NULL) {
+ obreadth = te->breadth;
+ te->breadth = nbreadth;
+ }
+ return obreadth;
+}
+
int rpmteNpreds(rpmte te)
{
return (te != NULL ? te->npreds : 0);