mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 20:28:43 +00:00
Moved stored_sock to io-loop.c (old hack for mainloop)
This commit is contained in:
parent
2aeb8ea47c
commit
d6cb22f246
@ -418,7 +418,7 @@ birdloop_add_socket(struct birdloop *loop, sock *s)
|
|||||||
socket_changed(s);
|
socket_changed(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern sock *stored_sock; /* mainloop hack */
|
sock *stored_sock; /* mainloop hack */
|
||||||
|
|
||||||
void
|
void
|
||||||
birdloop_remove_socket(struct birdloop *loop, sock *s)
|
birdloop_remove_socket(struct birdloop *loop, sock *s)
|
||||||
|
@ -515,7 +515,7 @@ static int short_loops = 0;
|
|||||||
#define SHORT_LOOP_MAX 10
|
#define SHORT_LOOP_MAX 10
|
||||||
#define WORK_EVENTS_MAX 10
|
#define WORK_EVENTS_MAX 10
|
||||||
|
|
||||||
sock *stored_sock;
|
extern sock *stored_sock; /* mainloop hack */
|
||||||
|
|
||||||
int sk_read(sock *s, int revents);
|
int sk_read(sock *s, int revents);
|
||||||
int sk_write(sock *s);
|
int sk_write(sock *s);
|
||||||
|
Loading…
Reference in New Issue
Block a user