Function
FwupdPlugininput_stream_from_path
Declaration [src]
GInputStream*
fu_input_stream_from_path (
const gchar* path,
GError** error
)
Parameters
path |
const gchar* |
A filename. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GInputStream |
A |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |