4 * Website : http://sourceforge.net/projects/minidlna/
5 * Author : Justin Maggard
7 * MiniDLNA media server
8 * Copyright (C) 2008-2009 Justin Maggard
10 * This file is part of MiniDLNA.
12 * MiniDLNA is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
16 * MiniDLNA is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
28 strcatf(struct string_s
*str
, char *fmt
, ...);
31 strncpyt(char *dst
, const char *src
, size_t len
);
34 ends_with(const char * haystack
, const char * needle
);
40 strstrc(const char *s
, const char *p
, const char t
);
43 strcasestrc(const char *s
, const char *p
, const char t
);
46 modifyString(char * string
, const char * before
, const char * after
, short like
);
49 escape_tag(const char *tag
, int force_alloc
);
52 strip_ext(char * name
);
55 make_dir(char * path
, mode_t mode
);
58 DJBHash(const char *str
, int len
);
61 is_video(const char * file
);
64 is_audio(const char * file
);
67 is_image(const char * file
);
70 is_playlist(const char * file
);
73 is_album_art(const char * name
);
76 resolve_unknown_type(const char * path
, enum media_types dir_type
);