* Add client type caching code, so we can behave in a customized manner if necessary for certain clients.

This commit is contained in:
Justin Maggard
2009-05-01 00:01:03 +00:00
parent a67c054ef7
commit 76ab570ed1
7 changed files with 83 additions and 10 deletions

View File

@ -15,6 +15,7 @@
#include <sqlite3.h>
#define CLIENT_CACHE_SLOTS 20
#define USE_FORK 1
#define DB_VERSION 1
@ -91,6 +92,7 @@ extern sqlite3 *db;
extern char friendly_name[];
extern struct media_dir_s * media_dirs;
extern struct album_art_name_s * album_art_names;
extern struct client_cache_s clients[CLIENT_CACHE_SLOTS];
extern short int scanning;
extern volatile __u32 updateID;