"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "utils.h" between
minidlna-1.1.5.tar.gz and minidlna-1.2.0.tar.gz

About: ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

utils.h  (minidlna-1.1.5):utils.h  (minidlna-1.2.0)
/* Utility functions /* Utility functions
* *
* Project : minidlna * Project : minidlna
* Website : https://sourceforge.net/projects/minidlna/ * Website : http://sourceforge.net/projects/minidlna/
* Author : Justin Maggard * Author : Justin Maggard
* *
* MiniDLNA media server * MiniDLNA media server
* Copyright (C) 2008-2009 Justin Maggard * Copyright (C) 2008-2017 Justin Maggard
* *
* This file is part of MiniDLNA. * This file is part of MiniDLNA.
* *
* MiniDLNA is free software; you can redistribute it and/or modify * MiniDLNA is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
* *
* MiniDLNA is distributed in the hope that it will be useful, * MiniDLNA is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
skipping to change at line 83 skipping to change at line 83
#endif #endif
} }
int xasprintf(char **strp, char *fmt, ...) __attribute__((__format__ (__printf__ , 2, 3))); int xasprintf(char **strp, char *fmt, ...) __attribute__((__format__ (__printf__ , 2, 3)));
int ends_with(const char * haystack, const char * needle); int ends_with(const char * haystack, const char * needle);
char *trim(char *str); char *trim(char *str);
char *strstrc(const char *s, const char *p, const char t); char *strstrc(const char *s, const char *p, const char t);
char *strcasestrc(const char *s, const char *p, const char t); char *strcasestrc(const char *s, const char *p, const char t);
char *modifyString(char *string, const char *before, const char *after, int noal loc); char *modifyString(char *string, const char *before, const char *after, int noal loc);
char *escape_tag(const char *tag, int force_alloc); char *escape_tag(const char *tag, int force_alloc);
char *unescape_tag(const char *tag, int force_alloc); char *unescape_tag(const char *tag, int force_alloc);
char *duration_str(int msec);
char *strip_ext(char *name); char *strip_ext(char *name);
/* Metadata functions */ /* Metadata functions */
int is_video(const char * file); int is_video(const char * file);
int is_audio(const char * file); int is_audio(const char * file);
int is_image(const char * file); int is_image(const char * file);
int is_playlist(const char * file); int is_playlist(const char * file);
int is_caption(const char * file); int is_caption(const char * file);
int is_album_art(const char * name); int is_album_art(const char * name);
int resolve_unknown_type(const char * path, media_types dir_type); int resolve_unknown_type(const char * path, media_types dir_type);
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS