dsn_split


Description:


public void dsn_split (string string, string out_dsn, string out_username, string out_password)

Extract the DSN, username and password from string.

in string, the various parts are strings which are expected to be encoded using an RFC 1738 compliant encoding. If they are specified, the returned username and password strings are correctly decoded.

out_username and out_password may be set to null depending on string's format.

Parameters:

string

a string in the "[<username>[:<password>]@]<DSN>" form

out_dsn

a place to store the new string containing the <DSN> part

out_username

a place to store the new string containing the <username> part

out_password

a place to store the new string containing the <password> part


Namespace: Gda
Package: libgda-5.0



2022 vala-language.org