summaryrefslogtreecommitdiff
path: root/libgupnp/gupnp-resource-factory-private.h
blob: fe9e4a732b86a56c4eb3d922099ef7cc517da1c9 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
 * Copyright (C) 2007 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
 * Copyright (C) 2006, 2007 OpenedHand Ltd.
 *
 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
 *         Jorn Baayen <jorn@openedhand.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef GUPNP_RESOURCE_FACTORY_PRIVATE_H
#define GUPNP_RESOURCE_FACTORY_PRIVATE_H

#include "xml-util.h"
#include "gupnp-device.h"
#include "gupnp-service.h"
#include "gupnp-device-proxy.h"
#include "gupnp-service-proxy.h"
#include "gupnp-resource-factory.h"
#include "gupnp-xml-doc.h"

G_BEGIN_DECLS

G_GNUC_INTERNAL GUPnPDeviceProxy *
gupnp_resource_factory_create_device_proxy (GUPnPResourceFactory *factory,
                                            GUPnPContext *context,
                                            GUPnPXMLDoc *doc,
                                            xmlNode *element,
                                            const char *udn,
                                            const char *location,
                                            const GUri *url_base);

G_GNUC_INTERNAL GUPnPServiceProxy *
gupnp_resource_factory_create_service_proxy (GUPnPResourceFactory *factory,
                                             GUPnPContext *context,
                                             GUPnPXMLDoc *doc,
                                             xmlNode *element,
                                             const char *udn,
                                             const char *service_type,
                                             const char *location,
                                             const GUri *url_base);

G_GNUC_INTERNAL GUPnPDevice *
gupnp_resource_factory_create_device (GUPnPResourceFactory *factory,
                                      GUPnPContext *context,
                                      GUPnPDevice *root_device,
                                      xmlNode *element,
                                      const char *udn,
                                      const char *location,
                                      const GUri *url_base);

G_GNUC_INTERNAL GUPnPService *
gupnp_resource_factory_create_service (GUPnPResourceFactory *factory,
                                       GUPnPContext *context,
                                       GUPnPDevice *root_device,
                                       xmlNode *element,
                                       const char *udn,
                                       const char *location,
                                       const GUri *url_base);

G_END_DECLS

#endif /* GUPNP_RESOURCE_FACTORY_PRIVATE_H */