summaryrefslogtreecommitdiffstats
path: root/PICA_nodejoinskynet.h
diff options
context:
space:
mode:
Diffstat (limited to 'PICA_nodejoinskynet.h')
-rw-r--r--PICA_nodejoinskynet.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/PICA_nodejoinskynet.h b/PICA_nodejoinskynet.h
new file mode 100644
index 0000000..1ca2578
--- /dev/null
+++ b/PICA_nodejoinskynet.h
@@ -0,0 +1,17 @@
+
+#ifndef PICA_NODEJOINSKYNET_H
+#define PICA_NODEJOINSKYNET_H
+
+int PICA_node_joinskynet(char* addrlistfilename,const char *my_addr);
+int try_connect_to_node(char *addr, unsigned int port,struct newconn *nc);
+int try_get_reply(struct newconn *nc);
+void send_newnode(struct nodelink *nlp, const char *my_addr);
+
+#ifdef JOINSKYNET //include from PICA_nodejoinskynet.c, private data types definition
+#include "PICA_nodeaddrlist.h"
+
+
+#endif
+
+
+#endif