Function

CogDirectoryFilesHandlernew

Declaration [src]

CogRequestHandler*
cog_directory_files_handler_new (
  GFile* base_path
)

Description [src]

Create a new handler.

Parameters

base_path GFile
 

Base directory where to search for files.

 The data is owned by the caller of the function.

Return value

Returns: CogRequestHandler
 

A directory files handler.

 The caller of the function takes ownership of the data, and is responsible for freeing it.