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


Manual Reference Pages  -  GETDNS_LIST_SET (3)

NAME

getdns_list_set, getdns_list_set_bindata, getdns_list_set_dict, getdns_list_set_int, getdns_list_set_list, -- set a value by index from a getdns list

CONTENTS

Library
Synopsis
Description
Examples
See Also

LIBRARY

DNS Resolver library (libgetdns, -lgetdns)

SYNOPSIS

#include <getdns.h>

getdns_return_t
getdns_list_set_bindata (getdns_list *this_list,

size_t index,
getdns_bindata *child_bindata)

getdns_return_t
getdns_list_set_dict (getdns_list *this_list,

size_t index,
getdns_dict *child_dict)

getdns_return_t
getdns_list_set_int (getdns_list *this_list,

size_t index,
uint32_t child_uint32_t)

getdns_return_t
getdns_list_set_list (getdns_list *this_list,

size_t index,
getdns_list *child_list)

DESCRIPTION

The getdns_list type is used to manage a heterogeneous indexed list of values that include:


getdns_bindata
getdns_dict
getdns_list
uint32_t

this_list the list in which to add/update the indexed item

index the index whose associated value is to be set. If the index exists in the list the value associated with that index is replaced, if the index does not exist in the list a new item is added to the list at the specified index.

child_bindata child_dict child_list child_uint32 value to assign the indexed element

RETURN VALUES

Upon successful completion the functions return GETDNS_RETURN_GOOD , otherwise the following error values are returned:

GETDNS_RETURN_NO_SUCH_LIST_ITEM if the index is out of range

GETDNS_RETURN_GENERIC_ERROR if this_list is not a valid list

EXAMPLES

TBD

SEE ALSO

libgetdns(3), getdns_address(3), getdns_list(3), getdns_list_get(3), getdns_general(3), getdns_hostname(3), getdns_service(3),

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


getdns 0.9.0 GETDNS_LIST_SET (3) December 2015

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