read_vpn_details


Description:

public static bool read_vpn_details (int fd, out HashTable<void*,void*> out_data, out HashTable<void*,void*> out_secrets)

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.

Parameters:

fd

file descriptor to read from, usually stdin (0)

out_data

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

out_secrets

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

Returns:

true if reading values was successful, false if not