Constructor

PhodavServernew_for_root_file

since: 2.5

Declaration [src]

PhodavServer*
phodav_server_new_for_root_file (
  GFile* root
)

Description [src]

Creates a new PhodavServer and publishes the files under root.

Available since: 2.5

Parameters

root

Type: GFile

A GFile specifying the root.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: PhodavServer

A new PhodavServer.

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