Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlIPPrivNet_GetNetAddresses Function
PHT_IPPRIV_NET

Obtains a list of IP addresses in the address/subnet_mask format which is assigned to a private network.

Syntax
PRL_RESULT PrlIPPrivNet_GetNetAddresses(
    PRL_HANDLE hPrivNet, 
    PRL_HANDLE_PTR pNetAddresses
);
File

PrlApiNet.h

Parameters

hPrivNet
A handle of type PHT_IPPRIV_NET identifying the private network.
phNetAddressesList
[out] A pointer to the PHT_STRINGS_LIST handle containing the IP addresses.

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_OUT_OF_MEMORY - not enough memory to allocate strings list object. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

 

Returns the list of pairs "IP address/Subnet mask" which is applied to the private network. The result will be returned as list of strings (PHT_STRINGS_LIST type) of pairs "IP address/Subnet mask".

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.