* 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

@ -28,6 +28,12 @@ enum media_types {
IMAGES_ONLY
};
enum client_types {
EXbox = 1,
EPS3,
ESamsungTV
};
struct media_dir_s {
char * path; /* Base path */
enum media_types type; /* type of files to scan */
@ -39,4 +45,10 @@ struct album_art_name_s {
struct album_art_name_s * next;
};
struct client_cache_s {
struct in_addr addr;
enum client_types type;
time_t age;
};
#endif