KeyFile.getGroups

Returns all groups in the key file loaded with @key_file. The array of returned groups will be %NULL-terminated, so @length may optionally be %NULL.

class KeyFile
string[]
getGroups
(
out size_t length
)

Parameters

length size_t

return location for the number of returned groups, or %NULL

Return Value

Type: string[]

a newly-allocated %NULL-terminated array of strings. Use g_strfreev() to free it.

Meta