Don't require a configured network interface to start up, and add network interface monitoring support on Linux.

This commit is contained in:
Justin Maggard
2013-05-08 23:52:02 -07:00
parent 1e4cf74436
commit 62b6e235b1
10 changed files with 249 additions and 360 deletions

View File

@ -29,25 +29,16 @@
#ifndef __MINISSDP_H__
#define __MINISSDP_H__
int
OpenAndConfSSDPReceiveSocket();
int OpenAndConfSSDPReceiveSocket(void);
int
OpenAndConfSSDPNotifySockets(int * sockets);
int OpenAndConfSSDPNotifySocket(in_addr_t addr);
void
SendSSDPNotifies2(int * sockets,
unsigned short port,
unsigned int lifetime);
void SendSSDPNotifies(int s, const char *host, unsigned short port, unsigned int lifetime);
void
ProcessSSDPRequest(int s, unsigned short port);
void ProcessSSDPRequest(int s, unsigned short port);
int
SendSSDPGoodbye(int * sockets, int n);
int SendSSDPGoodbyes(void);
int
SubmitServicesToMiniSSDPD(const char * host, unsigned short port);
int SubmitServicesToMiniSSDPD(const char *host, unsigned short port);
#endif