mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-01 11:01:46 +00:00
714f34580e
Some of the Lua doc and a few places still used "Haproxy" or "HAproxy". There was even one "HA proxy". A few of them were in an example of VTest output, indicating that VTest ought to be fixed as well. No big deal but better address all the remaining ones so that these inconsistencies stop spreading around.
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/*
|
|
* include/haproxy/dns.h
|
|
* This file provides functions related to DNS protocol
|
|
*
|
|
* Copyright (C) 2020 HAProxy Technologies
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation, version 2.1
|
|
* exclusively.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef _HAPROXY_DNS_H
|
|
#define _HAPROXY_DNS_H
|
|
|
|
#include <haproxy/dns-t.h>
|
|
#include <haproxy/server-t.h>
|
|
|
|
int dns_send_nameserver(struct dns_nameserver *ns, void *buf, size_t len);
|
|
ssize_t dns_recv_nameserver(struct dns_nameserver *ns, void *data, size_t size);
|
|
int dns_dgram_init(struct dns_nameserver *ns, struct sockaddr_storage *sk);
|
|
int dns_stream_init(struct dns_nameserver *ns, struct server *s);
|
|
|
|
#endif // _HAPROXY_DNS_H
|