namesys: Fixed some compilation errors.
This commit is contained in:
parent
c972852c9a
commit
4cd4750f6f
7 changed files with 41 additions and 24 deletions
|
@ -34,4 +34,5 @@
|
|||
char* ipfs_ipns_entry_get_signature(struct ipns_entry*);
|
||||
int ipfs_namesys_pb_get_value (char**, struct ipns_entry*);
|
||||
IpnsEntry_ValidityType ipfs_namesys_pb_get_validity_type (struct ipns_entry*);
|
||||
void ipfs_namesys_ipnsentry_reset (struct ipns_entry *m);
|
||||
#endif // IPNS_NAMESYS_PB_H
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
struct cacheEntry **data;
|
||||
};
|
||||
|
||||
struct libp2p_routing_value_store { // dummy declaration, not implemented yet.
|
||||
void *missing;
|
||||
};
|
||||
|
||||
char* ipfs_routing_cache_get (char *key, struct ipns_entry *ientry);
|
||||
void ipfs_routing_cache_set (char *key, char *value, struct ipns_entry *ientry);
|
||||
struct routingResolver* ipfs_namesys_new_routing_resolver (struct libp2p_routing_value_store *route, int cachesize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue