* Add some preliminary code for the eventual possibility of TiVo support.
This commit is contained in:
25
tivo_beacon.h
Normal file
25
tivo_beacon.h
Normal 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
|
Reference in New Issue
Block a user