summaryrefslogtreecommitdiff
path: root/libgupnp-av/gupnp-feature-list-parser.h
blob: 52edeb81a4def2b28ed6349cfe8dc824ed11ee4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright (C) 2012 Intel Corporation.
 *
 * Authors: Regis Merlino <regis.merlino@intel.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 *
 */

#ifndef GUPNP_FEATURE_LIST_PARSER_H
#define GUPNP_FEATURE_LIST_PARSER_H

#include <glib-object.h>
#include "gupnp-feature.h"

G_BEGIN_DECLS

G_DECLARE_FINAL_TYPE (GUPnPFeatureListParser,
                      gupnp_feature_list_parser,
                      GUPNP,
                      FEATURE_LIST_PARSER,
                      GObject)

#define GUPNP_TYPE_FEATURE_LIST_PARSER (gupnp_feature_list_parser_get_type ())

GUPnPFeatureListParser *
gupnp_feature_list_parser_new        (void);

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

G_END_DECLS

#endif /* __GUPNP_FEATURE_LIST_PARSER_H_ */