X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink_internal.h;h=af3a2501a646e37bc6d8c321f62ae4e998ada872;hb=80a9dcfd08bcd450f7be14207257713e1b027319;hp=26186015cb3b40660acc040830a865fc69610cf0;hpb=9d23fe58052b3ef971305699a00ea6dbd1111744;p=meshlink-tiny diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index 2618601..af3a250 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -21,14 +21,14 @@ */ #ifdef MESHLINK_H -#error You must not include both meshlink.h and meshlink_internal.h! +#error You must not include both meshlink-tiny.h and meshlink_internal.h! #endif #include "system.h" #include "event.h" #include "hash.h" -#include "meshlink.h" +#include "meshlink-tiny.h" #include "meshlink_queue.h" #include "sockaddr.h" #include "sptps.h" @@ -139,25 +139,21 @@ struct meshlink_handle { meshlink_node_duplicate_cb_t node_duplicate_cb; meshlink_connection_try_cb_t connection_try_cb; meshlink_error_cb_t error_cb; - meshlink_blacklisted_cb_t blacklisted_cb; // Mesh parameters char *appname; char *myport; struct ecdsa *private_key; - struct ecdsa *invitation_key; dev_class_t devclass; - int invitation_timeout; int udp_choice; dev_class_traits_t dev_class_traits[DEV_CLASS_COUNT]; int netns; - bool default_blacklist; bool inviter_commits_first; // Configuration @@ -165,7 +161,6 @@ struct meshlink_handle { FILE *lockfile; void *config_key; char *external_address_url; - struct list_t *invitation_addresses; meshlink_storage_policy_t storage_policy; // Thread management