This is the connector interface, an interface designed for drivers to exchange urls. More...
Data Structures | |
struct | nm_connector_iface_s |
Functions | |
PUK_IFACE_TYPE (NewMad_Connector, struct nm_connector_iface_s) | |
struct nm_connector_s * | nm_connector_create (int addr_len, const char **url) |
create a connector object More... | |
int | nm_connector_exchange (struct nm_connector_s *p_connector, const char *local_connector_url, const char *remote_connector_url, const void *local_cnx_addr, void *remote_cnx_addr) |
dynamically exchange addresses with peer node More... | |
void | nm_connector_destroy (struct nm_connector_s *p_connector) |
destroy a connector object More... | |
This is the connector interface, an interface designed for drivers to exchange urls.
End-users are not expected to use this interface designed only for nmad internal use.
struct nm_connector_s * nm_connector_create | ( | int | addr_len, |
const char ** | url | ||
) |
create a connector object
void nm_connector_destroy | ( | struct nm_connector_s * | p_connector | ) |
destroy a connector object
int nm_connector_exchange | ( | struct nm_connector_s * | p_connector, |
const char * | local_connector_url, | ||
const char * | remote_connector_url, | ||
const void * | local_cnx_addr, | ||
void * | remote_cnx_addr | ||
) |
dynamically exchange addresses with peer node
PUK_IFACE_TYPE | ( | NewMad_Connector | , |
struct nm_connector_iface_s | |||
) |