*/
#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"
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
FILE *lockfile;
void *config_key;
char *external_address_url;
- struct list_t *invitation_addresses;
meshlink_storage_policy_t storage_policy;
// Thread management