Function
Purpletag_parse
since: 3.0.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 called function takes ownership of the 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 called function takes ownership of the data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string.