mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
resolve: export sendmsg_loop()
So we can use it in tests.
This commit is contained in:
parent
a068e06da6
commit
ed6c51781f
@ -894,7 +894,7 @@ int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int sendmsg_loop(int fd, struct msghdr *mh, int flags) {
|
||||
int sendmsg_loop(int fd, struct msghdr *mh, int flags) {
|
||||
usec_t end;
|
||||
int r;
|
||||
|
||||
|
@ -178,6 +178,7 @@ uint32_t manager_find_mtu(Manager *m);
|
||||
|
||||
int manager_monitor_send(Manager *m, DnsQuery *q);
|
||||
|
||||
int sendmsg_loop(int fd, struct msghdr *mh, int flags);
|
||||
int manager_write(Manager *m, int fd, DnsPacket *p);
|
||||
int manager_send(Manager *m, int fd, int ifindex, int family, const union in_addr_union *destination, uint16_t port, const union in_addr_union *source, DnsPacket *p);
|
||||
int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user