get_entries


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "4.2" ) ]
public string[] get_entries (string group)

Returns the names of all entries in group if any.

null is a valid input value for group. get_entries will then return all entries in the so called "NULL group". Though this "NULL group" should only be used for backward compatibility with old applications. You should not use it in newly written code.

Parameters:

this

an Rc object.

group

the name of the group to get entries from.

Returns:

a NULL-terminated string array with all entries in group. Has to be freed using strfreev if no longer needed. If the specified group does not exists, null is returned. If the group has no entries, an empty string array is returned.