- if(tv0.tv_sec == 0)
- gettimeofday(&tv0, NULL);
- gettimeofday(&tv, NULL);
- fprintf(stderr, "%u.%.03u ", (unsigned int)(tv.tv_sec - tv0.tv_sec), (unsigned int)tv.tv_usec / 1000);
-
- if(mesh)
- fprintf(stderr, "(%s) ", mesh->name);
- fprintf(stderr, "[%d] %s\n", level, text);
-}
+static void a_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, const void *data, size_t len) {
+ (void)mesh;
+ (void)channel;