summaryrefslogtreecommitdiff
path: root/swig/KeyRing.i
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2007-08-30 13:43:47 +0000
committerArvin Schnell <aschnell@suse.de>2007-08-30 13:43:47 +0000
commit41e79be72fcd029d9de8fa7f62671084f13e6db9 (patch)
tree3fabba179f9e1f3350274c6018cdb67104040aba /swig/KeyRing.i
parent99511f3f7124f39b9207573ba980c2a706ab2b9a (diff)
downloadlibzypp-bindings-41e79be72fcd029d9de8fa7f62671084f13e6db9.tar.gz
libzypp-bindings-41e79be72fcd029d9de8fa7f62671084f13e6db9.tar.bz2
libzypp-bindings-41e79be72fcd029d9de8fa7f62671084f13e6db9.zip
- added two keyring functions
Diffstat (limited to 'swig/KeyRing.i')
-rw-r--r--swig/KeyRing.i5
1 files changed, 5 insertions, 0 deletions
diff --git a/swig/KeyRing.i b/swig/KeyRing.i
index 2a60834..44c887f 100644
--- a/swig/KeyRing.i
+++ b/swig/KeyRing.i
@@ -16,7 +16,12 @@ public:
void deleteKey(const std::string& id, bool trusted = false);
+ std::list<PublicKey> publicKeys();
+ std::list<PublicKey> trustedPublicKeys();
+
};
%template(KeyRing_Ptr) intrusive_ptr<KeyRing>;
+%template(list_PublicKey) std::list<PublicKey>;
+