diff options
| author | Anton <anton@picapica> | 2019-02-19 21:40:39 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-02-19 21:40:39 +0400 |
| commit | aab7aa459e274ef9e781023ad58fc5e97ef56168 (patch) | |
| tree | bdcfa8d87d26418632a749f13f6d1f734979d1a1 /PICA_node.c | |
| parent | 125002d7c1707b1ebdaad4f4561034c8c0c3f5c1 (diff) | |
| download | pica-pica-aab7aa459e274ef9e781023ad58fc5e97ef56168.tar.gz pica-pica-aab7aa459e274ef9e781023ad58fc5e97ef56168.zip | |
pica-node: declare functions, fix compiler warnings
Diffstat (limited to 'PICA_node.c')
| -rw-r--r-- | PICA_node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PICA_node.c b/PICA_node.c index 6072a2e..f456884 100644 --- a/PICA_node.c +++ b/PICA_node.c @@ -125,6 +125,7 @@ void cclink_list_delete_by_nodelink(struct nodelink *node); struct client* client_tree_search(const unsigned char *id);// struct client *client_list_addnew(struct newconn *nc); +void client_list_delete(struct client* ci); struct PICA_proto_msg* client_wbuf_push(struct client *c, unsigned int msgid, unsigned int size); int client_rbuf_grow(struct client *c); @@ -138,6 +139,7 @@ struct nodelink *nodelink_search_by_ipv4addr(in_addr_t addr, in_port_t port); /* void newconn_close(struct newconn* nc); void newconn_free(struct newconn* nc); struct newconn* newconn_add(struct newconn *ncs, int *pos); +void newconns_init(); void PICA_node_joinskynet(const char* addrlistfilename, const char *my_addr); |
