Constructor
FlatpakRemotenew
Declaration [src]
FlatpakRemote*
flatpak_remote_new (
const char* name
)
Description [src]
Returns a new remote object which can be used to configure a new remote.
Note: This is a local configuration object, you must commit changes
using flatpak_installation_modify_remote() or flatpak_installation_add_remote() for the changes to take effect.
Parameters
name-
Type:
const char*A name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: FlatpakRemote
A new FlatpakRemote.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |