Wrap up version 1.3.3.
[minidlna.git] / containers.h
blobaef77c55bff6ce9bb9fda71008878b5c229a50c5
1 /* MiniDLNA media server
2 * Copyright (C) 2014 NETGEAR
4 * This file is part of MiniDLNA.
6 * MiniDLNA is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * MiniDLNA is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
19 struct magic_container_s {
20 const char *name;
21 const char *objectid_match;
22 const char **objectid;
23 const char *objectid_sql;
24 const char *parentid_sql;
25 const char *refid_sql;
26 const char *child_count;
27 const char *where;
28 const char *orderby;
29 int max_count;
30 int required_flags;
33 extern struct magic_container_s magic_containers[];
35 struct magic_container_s *in_magic_container(const char *id, int flags, const char **real_id);
36 struct magic_container_s *check_magic_container(const char *id, int flags);