Adding implementation for adding new node.

This commit is contained in:
Nicolás Ortega Froysa
2017-08-05 15:41:01 -05:00
parent 03156e45de
commit afe5f6ae4e
3 changed files with 52 additions and 19 deletions

View File

@ -104,11 +104,8 @@ int NeoComm_add_node(const struct NeoComm_address addr);
* @brief Disconnect and remove a node from the directory.
*
* @param addr The address of the node to remove.
*
* @return If the operation failed then a 0 will be returned and the error can
* be read from the NeoComm_get_last_error function, else 1 is returned.
*/
int NeoComm_remove_node(const struct NeoComm_address addr);
void NeoComm_remove_node(const struct NeoComm_address addr);
/**
* @brief Retrieve information on a specific node.