summaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-04-13 16:11:04 -0400
committerAndrew Opalach <andrew@akon.city> 2026-04-13 16:11:04 -0400
commita389b8f2f9c55b76fe5a28c3f1fea798ed37aa98 (patch)
treeff9dcee72485443b77f03220564efa44fbe0c705 /src/timer.h
parentf78a30aaccffddc3e3eab07870e02157322af956 (diff)
downloadlibnaunet-a389b8f2f9c55b76fe5a28c3f1fea798ed37aa98.tar.gz
libnaunet-a389b8f2f9c55b76fe5a28c3f1fea798ed37aa98.tar.bz2
libnaunet-a389b8f2f9c55b76fe5a28c3f1fea798ed37aa98.zip
Allow packet_stream_reconnect() to cut offHEADmaster
a connecting stream. Cleanup timer. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/timer.h b/src/timer.h
index 15b467f..29107df 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -7,7 +7,6 @@
struct nn_timer {
ev_timer timer;
struct nn_event_loop *loop;
- bool disabled;
void (*callback)(void *, struct nn_timer *);
void *userdata;
};
@@ -16,6 +15,4 @@ void nn_timer_init(struct nn_timer *timer, struct nn_event_loop *loop,
void (*callback)(void *, struct nn_timer *), void *userdata);
void nn_timer_set_repeat(struct nn_timer *timer, nn_os_tstamp repeat);
void nn_timer_again(struct nn_timer *timer);
-void nn_timer_disable(struct nn_timer *timer);
-void nn_timer_enable(struct nn_timer *timer);
void nn_timer_stop(struct nn_timer *timer);