-/* Copyright (C) 2015 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Chaos class processing.
- *
- * \addtogroup query_processing
- * @{
- */
#pragma once
* \brief Create a response for a given query in the CHAOS class.
*/
int knot_chaos_answer(knot_pkt_t *pkt);
-
-/*! @} */
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * Access control list.
- *
- * \addtogroup server
- * @{
- */
#pragma once
bool acl_allowed(conf_t *conf, conf_val_t *acl, acl_action_t action,
const struct sockaddr_storage *addr, knot_tsig_key_t *tsig,
const knot_dname_t *zone_name, knot_pkt_t *query);
-
-/*! @} */
-/* Copyright (C) 2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Dynamic updates processing.
- *
- * \addtogroup ddns
- * @{
- */
#pragma once
*/
int ddns_process_update(const zone_t *zone, const knot_pkt_t *query,
zone_update_t *update, uint16_t *rcode);
-
-/*! @} */
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * Zone contents structure and API for manipulating it.
- *
- * \addtogroup zone
- * @{
- */
#pragma once
* \return Maximal TTL.
*/
uint32_t zone_contents_max_ttl(zone_contents_t *zone);
-
-/*! @} */
-/* Copyright (C) 2016 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Zone text dump facility.
- *
- * \addtogroup zone
- * @{
- */
#pragma once
* \retval < 0 if error.
*/
int zone_dump_text(zone_contents_t *zone, FILE *file, bool comments);
-
-/*! @} */
-/* Copyright (C) 2016 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Common executives for utils.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
const time_t exec_time,
const bool incoming,
const style_t *style);
-
-/*! @} */
-/* Copyright (C) 2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Coversion between HEX strings and bytes.
- *
- * \addtogroup knot_utils
- * @{
- */
-
#pragma once
#include <stdint.h>
* \return Error code, KNOT_EOK if successful.
*/
int hex_decode(const char *input, uint8_t **output, size_t *output_size);
-
-/*! @} */
-/* Copyright (C) 2016 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Lookup container for textual strings.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
*/
void lookup_complete(lookup_t *lookup, const char *str, size_t str_len,
EditLine *el, bool add_space);
-
-/*! @} */
-/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file msg.h
- *
- * \author Daniel Salzman <daniel.salzman@nic.cz>
- *
- * \brief Simple output formatting framework.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
/*! \brief Debug message for null input. */
#define DBG_NULL DBG("%s: null parameter\n", __func__)
-
-/*! @} */
-/* Copyright (C) 2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Networking abstraction for utilities.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
* \param net Connection parameters.
*/
void net_clean(net_t *net);
-
-/*! @} */
-/* Copyright (C) 2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file
- *
- * \brief Common utils parameters processing.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
int params_parse_server(const char *value, list_t *servers, const char *def_port);
int params_parse_wait(const char *value, int32_t *dst);
-
-/*! @} */
-/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file resolv.h
- *
- * \author Daniel Salzman <daniel.salzman@nic.cz>
- *
- * \brief resolv.conf processing.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
srv_info_t* parse_nameserver(const char *str, const char *def_port);
void get_nameservers(list_t *servers, const char *def_port);
-
-/*! @} */
-/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*!
- * \file token.h
- *
- * \author Marek Vavrusa <marek.vavrusa@nic.cz>
- *
- * \brief String tokenizer and simple scanner.
- *
- * \addtogroup knot_utils
- * @{
- */
#pragma once
* \return ptr to next non-blank character.
*/
const char *tok_skipspace(const char *lp);
-
-/*! @} */