Function
Purpletag_parse
unstable since: 3.0
Declaration [src]
void
purple_tag_parse (
const char* tag,
char** name,
char** value
)
Parameters
tag
-
Type:
const char*
The tag.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. name
-
Type:
char**
An optional return address for the name of the tag.
The argument will be set by the function. The argument can be set to NULL
by the function.The argument can be NULL
.The caller of the function takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string. value
-
Type:
char**
An optional return address for the value of the tag.
The argument will be set by the function. The argument can be set to NULL
by the function.The argument can be NULL
.The caller of the function takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string.