* * $Log: discover.h,v $ * Revision 1.1 2006/09/07 09:06:17 haraldkipp * Discovery service added. * * *
Defines | |
#define | DISCOVERY_VERSION 0x10 |
#define | DIST_REQUEST 0 |
#define | DIST_ANNOUNCE 1 |
#define | DIST_APPLY 2 |
#define | DISF_INITAL_ANN 0x0001 |
Typedefs | |
typedef _DISCOVERY_TELE | DISCOVERY_TELE |
typedef int(* | NutDiscoveryCallback )(u_long, u_short, DISCOVERY_TELE *, int) |
Functions | |
int | NutRegisterDiscovery (u_long ipmask, u_short port, u_int flags) |
Register discovery telegram responder. | |
NutDiscoveryCallback | NutRegisterDiscoveryCallback (NutDiscoveryCallback func) |
Register a custom discovery callback handler. | |
int | NutDiscoveryAnnTele (DISCOVERY_TELE *dist) |
Create an announcement datagram. | |
int | NutDiscoveryAppConf (DISCOVERY_TELE *dist) |
Apply new configuration. |