read_vpn_details


Description:

[ Version ( deprecated = true , deprecated_since = "1.2" ) ]
public static bool read_vpn_details (int fd, out HashTable<void*,void*> out_data, out HashTable<void*,void*> out_secrets)

Warning: read_vpn_details is deprecated since 1.2.

Parses key/value pairs from a file descriptor (normally stdin) passed by an applet when the applet calls the authentication dialog of the VPN plugin.

Note:

Replaced by NMVpnServicePlugin.

Parameters:

fd

file descriptor to read from, usually stdin (0)

out_data

on successful return, a hash table (mapping char*NMVpnPluginOld:char*) containing the key/value pairs of VPN data items

out_secrets

on successful return, a hash table (mapping char*NMVpnPluginOld:char*) containing the key/value pairsof VPN secrets

Returns:

true if reading values was successful, false if not