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 glib.global.strfreev to free it.