tizen 2.3.1 release
[external/gupnp.git] / libgupnp / gupnp-resource-factory-private.h
1 /*
2  * Copyright (C) 2007 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
3  * Copyright (C) 2006, 2007 OpenedHand Ltd.
4  *
5  * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
6  *         Jorn Baayen <jorn@openedhand.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #ifndef __GUPNP_RESOURCE_FACTORY_PRIVATE_H__
25 #define __GUPNP_RESOURCE_FACTORY_PRIVATE_H__
26
27 #include "xml-util.h"
28 #include "gupnp-device.h"
29 #include "gupnp-service.h"
30 #include "gupnp-device-proxy.h"
31 #include "gupnp-service-proxy.h"
32 #include "gupnp-resource-factory.h"
33 #include "gupnp-xml-doc.h"
34
35 G_BEGIN_DECLS
36
37 G_GNUC_INTERNAL GUPnPDeviceProxy *
38 gupnp_resource_factory_create_device_proxy
39                                       (GUPnPResourceFactory *factory,
40                                        GUPnPContext         *context,
41                                        GUPnPXMLDoc          *doc,
42                                        xmlNode              *element,
43                                        const char           *udn,
44                                        const char           *location,
45                                        const SoupURI        *url_base);
46
47 G_GNUC_INTERNAL GUPnPServiceProxy *
48 gupnp_resource_factory_create_service_proxy
49                                       (GUPnPResourceFactory *factory,
50                                        GUPnPContext         *context,
51                                        GUPnPXMLDoc          *doc,
52                                        xmlNode              *element,
53                                        const char           *udn,
54                                        const char           *service_type,
55                                        const char           *location,
56                                        const SoupURI        *url_base);
57
58 G_GNUC_INTERNAL GUPnPDevice *
59 gupnp_resource_factory_create_device  (GUPnPResourceFactory *factory,
60                                        GUPnPContext         *context,
61                                        GUPnPDevice          *root_device,
62                                        xmlNode              *element,
63                                        const char           *udn,
64                                        const char           *location,
65                                        const SoupURI        *url_base);
66
67 G_GNUC_INTERNAL GUPnPService *
68 gupnp_resource_factory_create_service (GUPnPResourceFactory *factory,
69                                        GUPnPContext         *context,
70                                        GUPnPDevice          *root_device,
71                                        xmlNode              *element,
72                                        const char           *udn,
73                                        const char           *location,
74                                        const SoupURI        *url_base);
75
76 G_END_DECLS
77
78 #endif /* __GUPNP_RESOURCE_FACTORY_PRIVATE_H__ */