GUPnP A/V Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
Synopsis
GUPnPFeatureListParser; GUPnPFeatureListParser * gupnp_feature_list_parser_new (void
); GList * gupnp_feature_list_parser_parse_text (GUPnPFeatureListParser *parser
,const char *text
,GError **error
);
Description
GUPnPFeatureListParser parses XML strings from ContentDirectory FeatureList state variable.
Details
gupnp_feature_list_parser_new ()
GUPnPFeatureListParser * gupnp_feature_list_parser_new (void
);
Returns : |
A new GUPnPFeatureListParser object. |
gupnp_feature_list_parser_parse_text ()
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]
|