GUPnPFeatureListParser

## GUPnPFeatureListParser GUPnPFeatureListParser — FeatureList state variable XML parser |

## Synopsis

                        GUPnPFeatureListParser;
    GUPnPFeatureListParser * gupnp_feature_list_parser_new  (void);
    GList *             gupnp_feature_list_parser_parse_text
                                                            (GUPnPFeatureListParser *parser,
                                                             const char *text,
                                                             GError **error);

## Object Hierarchy

      GObject
       +----GUPnPFeatureListParser

## Description

GUPnPFeatureListParser parses XML strings from ContentDirectory FeatureList state variable.

## Details

### GUPnPFeatureListParser

    typedef struct _GUPnPFeatureListParser GUPnPFeatureListParser;

### 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.

`parser` : | A GUPnPFeatureListParser
`text` : | The feature list string to be parsed
`error` : | 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]