diff options
Diffstat (limited to 'tools/vdrdiscovery.h')
| -rw-r--r-- | tools/vdrdiscovery.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/vdrdiscovery.h b/tools/vdrdiscovery.h index 7c4d18ae..3db1bd1c 100644 --- a/tools/vdrdiscovery.h +++ b/tools/vdrdiscovery.h @@ -7,7 +7,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: vdrdiscovery.h,v 1.3 2007-06-11 19:39:06 phintuka Exp $ + * $Id: vdrdiscovery.h,v 1.4 2008-11-04 12:08:59 phintuka Exp $ * */ @@ -20,15 +20,14 @@ extern "C" { #endif -#ifdef FE_STANDALONE +struct sockaddr_in; + int udp_discovery_find_server(int *port, char *address); -#else int udp_discovery_init(void); int udp_discovery_broadcast(int fd_discovery, int server_port, const char *server_address); int udp_discovery_recv(int fd_discovery, char *buf, int timeout, struct sockaddr_in *source); int udp_discovery_is_valid_search(const char *buf); -#endif #ifdef __cplusplus }; |
