"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "upnpglobalvars.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.

upnpglobalvars.h  (minidlna-1.1.5):upnpglobalvars.h  (minidlna-1.2.0)
/* MiniDLNA project /* MiniDLNA project
* *
* https://sourceforge.net/projects/minidlna/ * http://sourceforge.net/projects/minidlna/
* *
* 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 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.1.5" #define MINIDLNA_VERSION "1.2.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 9 #define DB_VERSION 10
#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 : "")
#ifndef PNPX
#define PNPX 0
#endif
#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," \
"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED," \ "http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED," \
"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG," \ "http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG," \
"http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO," \ "http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO," \
"http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_60_AC3_ISO," \ "http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_60_AC3_ISO," \
"http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HP_HD_AC3_ISO," \ "http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HP_HD_AC3_ISO," \
"http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_ISO," \ "http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_ISO," \
"http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO," \ "http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO," \
skipping to change at line 194 skipping to change at line 190
extern struct runtime_vars_s runtime_vars; extern struct runtime_vars_s runtime_vars;
/* runtime boolean flags */ /* runtime boolean flags */
extern uint32_t runtime_flags; extern uint32_t runtime_flags;
#define INOTIFY_MASK 0x0001 #define INOTIFY_MASK 0x0001
#define TIVO_MASK 0x0002 #define TIVO_MASK 0x0002
#define DLNA_STRICT_MASK 0x0004 #define DLNA_STRICT_MASK 0x0004
#define NO_PLAYLIST_MASK 0x0008 #define NO_PLAYLIST_MASK 0x0008
#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
#ifdef HAVE_AVAHI
#define TIVO_BONJOUR_MASK 0x0080
#else
#define TIVO_BONJOUR_MASK 0x0000
#endif
#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;
extern char uuidvalue[]; extern char uuidvalue[];
#define MODELNAME_MAX_LEN 64 #define MODELNAME_MAX_LEN 64
skipping to change at line 215 skipping to change at line 217
#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[];
#define PRESENTATIONURL_MAX_LEN 64 #define PRESENTATIONURL_MAX_LEN 64
extern char presentationurl[]; extern char presentationurl[];
#if PNPX
extern char pnpx_hwid[];
#endif
/* lan addresses */ /* lan addresses */
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[];
extern char log_path[]; extern char log_path[];
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 short int scanning; extern short int scanning;
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;
extern short int rescan_db;
#endif #endif
 End of changes. 7 change blocks. 
11 lines changed or deleted 10 lines changed or added

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