]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Make ldns_tsig_credentials_struct read-only for python
authorMichael Weiser <michael.weiser@gmx.de>
Mon, 19 Dec 2016 12:39:54 +0000 (13:39 +0100)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 19 Dec 2016 12:39:54 +0000 (13:39 +0100)
contrib/python/ldns.i

index 562b3ec948890680da3c2f71ede698b9fad99e72..0635c0bac83b28bdf76695da7bf46f4074c39246 100644 (file)
@@ -126,6 +126,9 @@ uint32_t ldns_read_timeval_usec(struct timeval* t) {
 %immutable ldns_struct_rr_descriptor::_name;
 %immutable ldns_error_str;
 %immutable ldns_signing_algorithms;
+%immutable ldns_tsig_credentials_struct::algorithm;
+%immutable ldns_tsig_credentials_struct::keyname;
+%immutable ldns_tsig_credentials_struct::keydata;
 
 //*_new_frm_fp_l
 %apply int *OUTPUT { (int *line_nr) };