Virtuozzo Virtualization SDK C API Reference
Creates a new handle of type PHT_IPPRIV_NET.
PRL_RESULT PrlIPPrivNet_Create( PRL_HANDLE_PTR phPrivNet );
The handle is necessary to create and configure an IP private network. If you would like to create a new IP private network, use this function to create the handle first and then use the handle functions to configure the network. If you would like to modify the configuration of an existing network, use the PrlSrv_GetIPPrivateNetworksList function to obtain a handle to the private network of interest.
It is the responsibility of the caller to free the handle with the PrlHandle_Free call when it is no longer needed.