"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "upnpglobalvars.h" between
minidlna-1.2.1.tar.gz and minidlna-1.3.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.

upnpglobalvars.h  (minidlna-1.2.1):upnpglobalvars.h  (minidlna-1.3.0)
skipping to change at line 60 skipping to change at line 60
#define __UPNPGLOBALVARS_H__ #define __UPNPGLOBALVARS_H__
#include <time.h> #include <time.h>
#include "minidlnatypes.h" #include "minidlnatypes.h"
#include "clients.h" #include "clients.h"
#include "config.h" #include "config.h"
#include <sqlite3.h> #include <sqlite3.h>
#define MINIDLNA_VERSION "1.2.1" #define MINIDLNA_VERSION "1.3.0"
#ifdef NETGEAR #ifdef NETGEAR
# define SERVER_NAME "ReadyDLNA" # define SERVER_NAME "ReadyDLNA"
#else #else
# define SERVER_NAME "MiniDLNA" # define SERVER_NAME "MiniDLNA"
#endif #endif
#define USE_FORK 1 #define USE_FORK 1
#define DB_VERSION 11 #define DB_VERSION 11
#ifdef READYNAS
# define LOGFILE_NAME "upnp-av.log"
#else
# define LOGFILE_NAME "minidlna.log"
#endif
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
#define _(string) gettext(string) #define _(string) gettext(string)
#else #else
#define _(string) (string) #define _(string) (string)
#endif #endif
#define THISORNUL(s) (s ? s : "") #define THISORNUL(s) (s ? s : "")
#define RESOURCE_PROTOCOL_INFO_VALUES \ #define RESOURCE_PROTOCOL_INFO_VALUES \
"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN," \ "http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN," \
"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM," \ "http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM," \
skipping to change at line 168 skipping to change at line 174
"http-get:*:video/mpeg:*," \ "http-get:*:video/mpeg:*," \
"http-get:*:video/mp4:*," \ "http-get:*:video/mp4:*," \
"http-get:*:video/x-ms-wmv:*," \ "http-get:*:video/x-ms-wmv:*," \
"http-get:*:video/x-msvideo:*," \ "http-get:*:video/x-msvideo:*," \
"http-get:*:video/x-flv:*," \ "http-get:*:video/x-flv:*," \
"http-get:*:video/x-tivo-mpeg:*," \ "http-get:*:video/x-tivo-mpeg:*," \
"http-get:*:video/quicktime:*," \ "http-get:*:video/quicktime:*," \
"http-get:*:audio/mp4:*," \ "http-get:*:audio/mp4:*," \
"http-get:*:audio/x-wav:*," \ "http-get:*:audio/x-wav:*," \
"http-get:*:audio/x-flac:*," \ "http-get:*:audio/x-flac:*," \
"http-get:*:audio/x-dsd:*," \
"http-get:*:application/ogg:*" "http-get:*:application/ogg:*"
#define DLNA_FLAG_DLNA_V1_5 0x00100000 #define DLNA_FLAG_DLNA_V1_5 0x00100000
#define DLNA_FLAG_HTTP_STALLING 0x00200000 #define DLNA_FLAG_HTTP_STALLING 0x00200000
#define DLNA_FLAG_TM_B 0x00400000 #define DLNA_FLAG_TM_B 0x00400000
#define DLNA_FLAG_TM_I 0x00800000 #define DLNA_FLAG_TM_I 0x00800000
#define DLNA_FLAG_TM_S 0x01000000 #define DLNA_FLAG_TM_S 0x01000000
#define DLNA_FLAG_LOP_BYTES 0x20000000 #define DLNA_FLAG_LOP_BYTES 0x20000000
#define DLNA_FLAG_LOP_NPT 0x40000000 #define DLNA_FLAG_LOP_NPT 0x40000000
skipping to change at line 198 skipping to change at line 205
#define SYSTEMD_MASK 0x0010 #define SYSTEMD_MASK 0x0010
#define MERGE_MEDIA_DIRS_MASK 0x0020 #define MERGE_MEDIA_DIRS_MASK 0x0020
#define WIDE_LINKS_MASK 0x0040 #define WIDE_LINKS_MASK 0x0040
#ifdef HAVE_AVAHI #ifdef HAVE_AVAHI
#define TIVO_BONJOUR_MASK 0x0080 #define TIVO_BONJOUR_MASK 0x0080
#else #else
#define TIVO_BONJOUR_MASK 0x0000 #define TIVO_BONJOUR_MASK 0x0000
#endif #endif
#define SCANNING_MASK 0x0100 #define SCANNING_MASK 0x0100
#define RESCAN_MASK 0x0200 #define RESCAN_MASK 0x0200
#define SUBTITLES_MASK 0x0400
#define FORCE_ALPHASORT_MASK 0x0800
#define SETFLAG(mask) runtime_flags |= mask #define SETFLAG(mask) runtime_flags |= mask
#define GETFLAG(mask) (runtime_flags & mask) #define GETFLAG(mask) (runtime_flags & mask)
#define CLEARFLAG(mask) runtime_flags &= ~mask #define CLEARFLAG(mask) runtime_flags &= ~mask
extern const char *pidfilename; extern const char *pidfilename;
#define UUIDVALUE_MAX_LEN 42
extern char uuidvalue[]; extern char uuidvalue[];
#define MODELNAME_MAX_LEN 64 #define MODELNAME_MAX_LEN 64
extern char modelname[]; extern char modelname[];
#define MODELNUMBER_MAX_LEN 16 #define MODELNUMBER_MAX_LEN 16
extern char modelnumber[]; extern char modelnumber[];
#define SERIALNUMBER_MAX_LEN 16 #define SERIALNUMBER_MAX_LEN 16
extern char serialnumber[]; extern char serialnumber[];
skipping to change at line 230 skipping to change at line 240
extern int n_lan_addr; extern int n_lan_addr;
extern struct lan_addr_s lan_addr[]; extern struct lan_addr_s lan_addr[];
extern int sssdp; extern int sssdp;
extern const char *minissdpdsocketpath; extern const char *minissdpdsocketpath;
/* UPnP-A/V [DLNA] */ /* UPnP-A/V [DLNA] */
extern sqlite3 *db; extern sqlite3 *db;
#define FRIENDLYNAME_MAX_LEN 64 #define FRIENDLYNAME_MAX_LEN 64
extern char friendly_name[]; extern char friendly_name[];
extern char db_path[]; extern char db_path[1024];
extern char log_path[]; extern char log_path[1024];
extern struct media_dir_s *media_dirs; extern struct media_dir_s *media_dirs;
extern struct album_art_name_s *album_art_names; extern struct album_art_name_s *album_art_names;
extern volatile short int quitting; extern volatile short int quitting;
extern volatile uint32_t updateID; extern volatile uint32_t updateID;
extern const char *force_sort_criteria; extern const char *force_sort_criteria;
#endif #endif
 End of changes. 6 change blocks. 
3 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)