| Top |
Functions
| AsTag | as_tag_from_string () |
| AsTag | as_tag_from_string_full () |
| const gchar * | as_tag_to_string () |
Description
These functions will convert a tag enum such as AS_TAG_COMPONENT to
it's string form, and also vice-versa.
These helper functions may be useful if implementing an AppStream parser.
Functions
as_tag_from_string ()
AsTag
as_tag_from_string (const gchar *tag);
Converts the text representation to an enumerated value.
Since: 0.1.0
as_tag_from_string_full ()
AsTag as_tag_from_string_full (const gchar *tag,AsTagFlags flags);
Converts the text representation to an enumerated value also converting legacy key names.
Since: 0.1.2
Types and Values
enum AsTag
The tag type.
Members
|
Type invalid or not known |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
