Added utility functions to multiaddress

Parsing of typical IP addresses is now easier
This commit is contained in:
John Jones 2017-03-09 18:47:27 -05:00
parent f494344b15
commit 93c4988f90
7 changed files with 21 additions and 14 deletions

View file

@ -10,3 +10,5 @@
* @returns nothing useful
*/
void *ipfs_bootstrap_swarm(void* param);
void *ipfs_bootstrap_routing(void* param);

View file

@ -11,7 +11,7 @@ struct IpfsNode {
struct Identity* identity;
struct FSRepo* repo;
struct Peerstore* peerstore;
struct Routing* routing;
struct s_ipfs_routing* routing;
//struct Pinner pinning; // an interface
//struct Mount** mounts;
// TODO: Add more here