Method

GioFileInfolist_attributes

Declaration

char**
g_file_info_list_attributes (
  GFileInfo* info,
  const char* name_space
)

Description

Lists the file info structure’s attributes.

Parameters

name_space const char*
 

A file attribute key’s namespace, or NULL to list all attributes.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: An array of utf8
 

A null-terminated array of strings of all of the possible attribute types for the given name_space, or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.