GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DNSTABLE_ITER(3)   DNSTABLE_ITER(3)

dnstable_iter - iterate over a sequence of dnstable entries

#include <dnstable.h>

dnstable_res
dnstable_iter_next(struct dnstable_iter *it, struct dnstable_entry **ent);

dnstable_iter_destroy(struct dnstable_iter **it);

The dnstable_iter interface is used to return a sequence of one or more dnstable entries. Once the caller obtains a dnstable_iter object, dnstable_iter_next() should be repeatedly called on it until there are no more entries to retrieve, at which point the iterator object must be freed by calling dnstable_iter_destroy().

dnstable_iter_next() returns dnstable_res_success if an entry was successfully retrieved, in which case ent will point to a dnstable_entry object which must be freed by the caller using dnstable_entry_destroy(). dnstable_res_failure is returned if there are no more entries in the sequence.

dnstable_entry(3)
05/31/2018  

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.