]> git.meshlink.io Git - meshlink/blobdiff - src/libmeshlink.h
Get rid of tincremotehost structure, we use directly node_t
[meshlink] / src / libmeshlink.h
index ab7cdded06777410df9c7c87c89e2bfca51cdcda..e99f895768fb762369e524dd1f0e4adfb3888885 100644 (file)
@@ -46,14 +46,8 @@ typedef struct tincpackethdr {
   u_int8_t source[16];
 } __attribute__ ((__packed__)) tincpackethdr;
 
-typedef struct tincremotehost {
-  char *name;
-  char *publickey;
-
-} tincremotehost;
-
 // can be called from any thread
-bool tinc_send_packet(tincremotehost *receiver, const char* buf, unsigned int len);
+bool tinc_send_packet(node_t *receiver, const char* buf, unsigned int len);
 
 // handler runs in tinc thread and should return immediately
 bool tinc_set_packet_receive_handler(void (*handler)(const char* sender, const char* buf, unsigned int len));