* * $Log: discover.h,v $ * Revision 1.1 2006/09/07 09:06:17 haraldkipp * Discovery service added. * * *
Definition in file discover.h.
Go to the source code of this file.
Data Structures | |
struct | _DISCOVERY_TELE |
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. |
#define DISCOVERY_VERSION 0x10 |
#define DIST_REQUEST 0 |
Definition at line 55 of file discover.h.
#define DIST_ANNOUNCE 1 |
#define DIST_APPLY 2 |
Definition at line 57 of file discover.h.
#define DISF_INITAL_ANN 0x0001 |
Definition at line 59 of file discover.h.
Referenced by DiscoveryResponder(), and main().
typedef struct _DISCOVERY_TELE DISCOVERY_TELE |
typedef int(*) NutDiscoveryCallback(u_long, u_short, DISCOVERY_TELE *, int) |
Definition at line 74 of file discover.h.