set_value_full


Description:

[ CCode ( vfunc_name = "set_value" ) ]
public virtual void set_value_full (owned uint8[] value, DestroyNotify? destroy = free)

Provide the value for this password.

The value will be owned by the password object, and later freed using the destroy function callback.

Specify the value.length, for a non-nul-terminated password. Pass -1 as value.length if using a nul-terminated password, and value.length will be calculated automatically. (Note that the terminating nul is not considered part of the password in this case.)

Parameters:

this

a TlsPassword object

value

the value for the password

destroy

a function to use to free the password.

length

the length of the password, or -1




2022 vala-language.org