]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
pyLDNS: Removed ldns_pkt.set_searchlist_count().
authorKarel Slany <karel.slany@nic.cz>
Wed, 28 Aug 2013 13:13:16 +0000 (15:13 +0200)
committerKarel Slany <karel.slany@nic.cz>
Wed, 28 Aug 2013 13:13:16 +0000 (15:13 +0200)
The underlying C function is marked static and therefore not accessible.

contrib/python/Changelog
contrib/python/ldns_resolver.i

index d6f549bc9cda14586ce4c67267157a6475f0472c..209005ab992968b24482f130af6d6f6cd92aedd1 100644 (file)
@@ -1,7 +1,7 @@
 1.7.0
        * Fixed memory leaks when destroying ldns_resolver.
-       * Removed ldns_pkt.section_count() because it is marked static in the
-         library.
+       * Removed ldns_pkt.section_count(), ldns_pkt.set_searchlist_count()
+         because it is marked static in the library.
        * Added ldns_pkt.new().
        * Marked as returning new object ldns_pkt.get_section_clone(),
          ldns_resolver.get_addr_by_name(), ldns_resolver.get_name_by_addr(),
index b2dd15587045271a9fc283e6cf2dd1ebf31c022e..a110d7e60380457d477ffb9050fc7a6311404fd3 100644 (file)
@@ -854,18 +854,20 @@ record."
             #retvals: ldns_pkt *
 
         def searchlist(self):
-            """What is the searchlist as used by the resolver.
+            """
+               What is the search-list as used by the resolver.
                
-               :return: (ldns_rdf \*\*) a ldns_rdf pointer to a list of the addresses
+               :return: (ldns_rdf \*\*) A ldns_rdf pointer to a list of the addresses.
             """
             return _ldns.ldns_resolver_searchlist(self)
             #parameters: const ldns_resolver *,
             #retvals: ldns_rdf \*\*
 
         def searchlist_count(self):
-            """Return the resolver's searchlist count.
+            """
+               Return the resolver's search-list count.
                
-               :return: (size_t) the searchlist count
+               :return: (size_t) The search-list count.
             """
             return _ldns.ldns_resolver_searchlist_count(self)
             #parameters: const ldns_resolver *,
@@ -1138,11 +1140,6 @@ record."
             #parameters: ldns_resolver *,size_t *,
             #retvals: 
 
-        def set_searchlist_count(self,c):
-            _ldns.ldns_resolver_set_searchlist_count(self,c)
-            #parameters: ldns_resolver *,size_t,
-            #retvals: 
-
         def set_timeout(self,timeout):
             """Set the resolver's socket time out when talking to remote hosts.