blob: bed172bf5129d487f1a40943062219e09e497e41 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
/*
* Copyright (C) 2006, 2007 OpenedHand Ltd.
*
* Author: Jorn Baayen <jorn@openedhand.com>
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef GUPNP_SERVICE_INFO_H
#define GUPNP_SERVICE_INFO_H
#include <glib-object.h>
#include "gupnp-context.h"
#include "gupnp-service-introspection.h"
G_BEGIN_DECLS
#define GUPNP_TYPE_SERVICE_INFO (gupnp_service_info_get_type ())
G_DECLARE_DERIVABLE_TYPE (GUPnPServiceInfo,
gupnp_service_info,
GUPNP,
SERVICE_INFO,
GObject)
struct _GUPnPServiceInfoClass {
GObjectClass parent_class;
/* future padding */
void (* _gupnp_reserved1) (void);
void (* _gupnp_reserved2) (void);
void (* _gupnp_reserved3) (void);
void (* _gupnp_reserved4) (void);
};
GUPnPContext *
gupnp_service_info_get_context (GUPnPServiceInfo *info);
const char *
gupnp_service_info_get_location (GUPnPServiceInfo *info);
const GUri *
gupnp_service_info_get_url_base (GUPnPServiceInfo *info);
const char *
gupnp_service_info_get_udn (GUPnPServiceInfo *info);
const char *
gupnp_service_info_get_service_type (GUPnPServiceInfo *info);
char *
gupnp_service_info_get_id (GUPnPServiceInfo *info);
char *
gupnp_service_info_get_scpd_url (GUPnPServiceInfo *info);
char *
gupnp_service_info_get_control_url (GUPnPServiceInfo *info);
char *
gupnp_service_info_get_event_subscription_url (GUPnPServiceInfo *info);
void
gupnp_service_info_introspect_async (GUPnPServiceInfo *info,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GUPnPServiceIntrospection *
gupnp_service_info_introspect_finish (GUPnPServiceInfo *info,
GAsyncResult *res,
GError **error);
G_END_DECLS
#endif /* GUPNP_SERVICE_INFO_H */
|