summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-06-04 17:55:34 +0200
committerMichael Schroeder <mls@suse.de>2013-06-04 17:55:34 +0200
commit35fe9fc7beea9290200e2c3301bb5e89f359189d (patch)
treea5774b19c8fc28d38d46a688dcc0536e4e4da637 /doc
parent9f6921196d3f4c38d636505326370b8950b6ca2a (diff)
downloadlibsolv-35fe9fc7beea9290200e2c3301bb5e89f359189d.tar.gz
libsolv-35fe9fc7beea9290200e2c3301bb5e89f359189d.tar.bz2
libsolv-35fe9fc7beea9290200e2c3301bb5e89f359189d.zip
Make 'dep' attribute in Ruleinfo return an object, add fromstr/tostr attributes to TransactionClass and remove old fromdep()/todep() methods
Diffstat (limited to 'doc')
-rw-r--r--doc/libsolv-bindings.txt37
1 files changed, 23 insertions, 14 deletions
diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt
index 70f3b8d..0310ce9 100644
--- a/doc/libsolv-bindings.txt
+++ b/doc/libsolv-bindings.txt
@@ -2159,12 +2159,19 @@ Back pointer to solver object.
The type of the ruleinfo. See the constant section of the solver class for the
rule type list and the special type list.
- Id dep; /* read only */
+ Dep *dep; /* read only */
$ruleinfo->{'dep'}
ruleinfo.dep
ruleinfo.dep
-The id of the dependency leading to the creation of the rule, or zero.
+The dependency leading to the creation of the rule.
+
+ Dep *dep_id; /* read only */
+ $ruleinfo->{'dep_id'}
+ ruleinfo.dep_id
+ ruleinfo.dep_id
+
+The Id of the dependency leading to the creation of the rule, or zero.
Solvable *solvable; /* read only */
$ruleinfo->{'solvable'}
@@ -2619,6 +2626,20 @@ The type of the transaction elements in the class.
The number of elements in the class.
+ const char *fromstr;
+ $class->{'fromstr'}
+ class.fromstr
+ class.fromstr
+
+The old vendor or architecture.
+
+ const char *tostr;
+ $class->{'tostr'}
+ class.tostr
+ class.tostr
+
+The new vendor or architecture.
+
Id fromid;
$class->{'fromid'}
class.fromid
@@ -2642,18 +2663,6 @@ The id of the new vendor or architecture.
Return the solvables for all transaction elements in the class.
- Dep *fromdep();
- my $from = $class->fromdep();
- from = class.fromdep();
- from = class.fromdep();
-
- Dep *todep();
- my $from = $class->todep();
- from = class.todep();
- from = class.todep();
-
-The id of the vendor or architecture in Dep object form.
-
CHECKSUMS
---------
Checksums (also called hashes) are used to make sure that downloaded data is