comparison libdlna-0.2.3/src/dlna_internals.h @ 129:4f6d9621ee00

add multi session streaming & add depending librarys. - libupnp-1.6.6 - libdlna-0.2.3
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 10 Oct 2010 15:33:18 +0900
parents
children
comparison
equal deleted inserted replaced
128:3a7d8d2f0585 129:4f6d9621ee00
1 /*
2 * libdlna: reference DLNA standards implementation.
3 * Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
4 *
5 * This file is part of libdlna.
6 *
7 * libdlna is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * libdlna is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with libdlna; if not, write to the Free Software
19 * Foundation, Inc, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #ifndef _DLNA_INTERNALS_H_
23 #define _DLNA_INTERNALS_H_
24
25 #if defined(__GNUC__)
26 # define dlna_unused __attribute__((unused))
27 #else
28 # define dlna_unused
29 #endif
30
31 #include "dlna.h"
32
33 /**
34 * DLNA Library's controller.
35 * This controls the whole library.
36 */
37 struct dlna_s {
38 /* has the library's been inited */
39 int inited;
40 /* defines verbosity level */
41 int verbosity;
42 /* defines flexibility on file extension's check */
43 int check_extensions;
44 /* linked-list of registered DLNA profiles */
45 void *first_profile;
46 };
47
48 #endif /* _DLNA_INTERNALS_H_ */