diff options
author | gafton <devnull@localhost> | 1999-07-16 08:45:24 +0000 |
---|---|---|
committer | gafton <devnull@localhost> | 1999-07-16 08:45:24 +0000 |
commit | 8e4d1531d6e10bbe405d7f80b4f1ae940ec5cf88 (patch) | |
tree | d010f4b57976056c97dc5d47c0ec948248f1e1aa /perl | |
parent | 1d18d03f9d3632cea29e45db952a22a601f09fbe (diff) | |
download | librpm-tizen-8e4d1531d6e10bbe405d7f80b4f1ae940ec5cf88.tar.gz librpm-tizen-8e4d1531d6e10bbe405d7f80b4f1ae940ec5cf88.tar.bz2 librpm-tizen-8e4d1531d6e10bbe405d7f80b4f1ae940ec5cf88.zip |
New file
CVS patchset: 3174
CVS date: 1999/07/16 08:45:24
Diffstat (limited to 'perl')
-rw-r--r-- | perl/db.xs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/perl/db.xs b/perl/db.xs new file mode 100644 index 000000000..078927275 --- /dev/null +++ b/perl/db.xs @@ -0,0 +1,33 @@ + +MODULE = rpm PACKAGE = rpmdb PREFIX = rpmdb + +void +rpmdbClose(db) + rpmdb db + +unsigned int +rpmdbFirst(db) + rpmdb db + CODE: + RETVAL = rpmdbFirstRecNum(db); + OUTPUT: + RETVAL + +unsigned int +rpmdbNext(db, last_rec) + rpmdb db + unsigned int last_rec + CODE: + RETVAL = rpmdbNextRecNum(db, last_rec); + OUTPUT: + RETVAL + +Header +rpmdbRecord(db, rec) + rpmdb db + unsigned int rec + CODE: + RETVAL = rpmdbGetRecord(db, rec); + OUTPUT: + RETVAL + |