blob: 83c41a8a3f78e3d3e85ee2ded77ca208d09ba321 (
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
|
/*
* dLeyna
*
* Copyright (C) 2012-2017 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Regis Merlino <regis.merlino@intel.com>
*
*/
#ifndef DLS_SERVER_H__
#define DLS_SERVER_H__
#include <libdleyna/core/connector.h>
#include <libdleyna/core/task-processor.h>
#define DLS_SERVER_SINK "dleyna-server"
typedef struct dls_device_t_ dls_device_t;
typedef struct dls_device_context_t_ dls_device_context_t;
typedef struct dls_upnp_t_ dls_upnp_t;
gboolean dls_server_get_object_info(const gchar *object_path,
gchar **root_path,
gchar **object_id,
dls_device_t **device,
GError **error);
dls_upnp_t *dls_server_get_upnp(void);
gboolean dls_server_is_device_sleeping(dls_device_t *dev);
void dls_server_delete_sleeping_device(dls_device_t *dev);
dleyna_task_processor_t *dls_server_get_task_processor(void);
const dleyna_connector_t *dls_server_get_connector(void);
#endif /* DLS_SERVER_H__ */
|