* Add client type caching code, so we can behave in a customized manner if necessary for certain clients.
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include "minidlnatypes.h"
|
||||
#include "config.h"
|
||||
|
||||
/* server: HTTP header returned in all HTTP responses : */
|
||||
@ -31,10 +32,6 @@ enum httpCommands {
|
||||
EUnSubscribe
|
||||
};
|
||||
|
||||
enum clientType {
|
||||
EXbox = 1
|
||||
};
|
||||
|
||||
struct upnphttp {
|
||||
int socket;
|
||||
struct in_addr clientaddr; /* client address */
|
||||
@ -46,7 +43,7 @@ struct upnphttp {
|
||||
int req_contentlen;
|
||||
int req_contentoff; /* header length */
|
||||
enum httpCommands req_command;
|
||||
enum clientType req_client;
|
||||
enum client_types req_client;
|
||||
const char * req_soapAction;
|
||||
int req_soapActionLen;
|
||||
const char * req_Callback; /* For SUBSCRIBE */
|
||||
|
Reference in New Issue
Block a user