[20bb1d]: tivo_beacon.h  Maximize  Restore  History

Download this file

36 lines (32 with data), 840 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* TiVo discovery
*
* Project : minidlna
* Website : http://sourceforge.net/projects/minidlna/
* Author : Justin Maggard
* Copyright (c) 2009 Justin Maggard
* This software is subject to the conditions detailed in the
* LICENCE file provided in this distribution.
* */
#include "config.h"
#ifdef TIVO_SUPPORT
/*
* * 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();
int
OpenAndConfTivoBeaconSocket();
void
sendBeaconMessage(int fd, struct sockaddr_in * client, int len, int broadcast);
#endif