* Add some preliminary code for the eventual possibility of TiVo support.

This commit is contained in:
Justin Maggard
2009-02-23 23:10:27 +00:00
parent 10136482af
commit 2da2f6d4a1
23 changed files with 530 additions and 59 deletions

25
tivo_beacon.h Normal file
View File

@ -0,0 +1,25 @@
#ifdef ENABLE_TIVO
/*
* * A saved copy of a beacon from another tivo or another server
* */
struct aBeacon
{
time_t lastSeen;
char* machine;
char* identity;
char* platform;
char* swversion;
char* method;
char* services;
struct aBeacon* next;
};
uint32_t getBcastAddress( void );
int
OpenAndConfTivoBeaconSocket();
void
sendBeaconMessage(int fd, struct sockaddr_in * client, int len, int broadcast);
#endif