| GUPnP A/V Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
GUPnPFeatureListParser; GUPnPFeatureListParser * gupnp_feature_list_parser_new (void); GList * gupnp_feature_list_parser_parse_text (GUPnPFeatureListParser *parser,const char *text,GError **error);
GUPnPFeatureListParser parses XML strings from ContentDirectory FeatureList state variable.
GUPnPFeatureListParser * gupnp_feature_list_parser_new (void);
Returns : |
A new GUPnPFeatureListParser object. |
GList * gupnp_feature_list_parser_parse_text (GUPnPFeatureListParser *parser,const char *text,GError **error);
Parses text and returns the list of available features.
If an error occured error will be set.
|
A GUPnPFeatureListParser |
|
The feature list string to be parsed |
|
The location where to store the error information if any, or NULL |
Returns : |
The list of
features or NULL if an error occured. [transfer full][element-type GUPnPFeature]
|