1/* TiVo discovery 2 * 3 * Project : minidlna 4 * Website : http://sourceforge.net/projects/minidlna/ 5 * Author : Justin Maggard 6 * Copyright (c) 2009 Justin Maggard 7 * This software is subject to the conditions detailed in the 8 * LICENCE file provided in this distribution. 9 * */ 10#include "config.h" 11#ifdef TIVO_SUPPORT 12/* 13 * * A saved copy of a beacon from another tivo or another server 14 * */ 15struct aBeacon 16{ 17 time_t lastSeen; 18 char* machine; 19 char* identity; 20 char* platform; 21 char* swversion; 22 char* method; 23 char* services; 24 struct aBeacon* next; 25}; 26 27uint32_t 28getBcastAddress(); 29 30int 31OpenAndConfTivoBeaconSocket(); 32 33void 34sendBeaconMessage(int fd, struct sockaddr_in * client, int len, int broadcast); 35#endif 36