Adding network and swarm functionality
This commit is contained in:
parent
96b97ad347
commit
e90d966e44
16 changed files with 287 additions and 155 deletions
|
@ -5,8 +5,11 @@
|
|||
#include "swarm.h"
|
||||
|
||||
struct Addresses {
|
||||
// list of strings in format "/family/address/type/port"
|
||||
struct Libp2pLinkedList* swarm_head;
|
||||
// info for api connection
|
||||
char* api;
|
||||
// info for http gateway
|
||||
char* gateway;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue