Function

CogDirectoryFilesHandlernew

Declaration [src]

CogRequestHandler*
cog_directory_files_handler_new (
  GFile* base_path
)

Description [src]

Create a new handler.

Parameters

base_path

Type: GFile

Base directory where to search for files.

The data is owned by the caller of the function.

Return value

Type: CogRequestHandler

A directory files handler.

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