Function
Purpleutil_write_data_to_config_file
unstable since: 3.0
Declaration [src]
gboolean
purple_util_write_data_to_config_file (
const char* filename,
const char* data,
gssize size
)
Description [src]
Write a string of data to a file of the given name in the Purple config directory ($HOME/.config/purple by default).
See purple_util_write_data_to_file().
Available since: 3.0
Parameters
filename-
Type:
const char*The basename of the file to write in the purple_config_dir.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. data-
Type:
const char*A string of data to write.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. size-
Type:
gssizeThe size of the data to save. If data is null-terminated you can pass in -1.