Commit 2b6f5912 authored by Daniel Salzman's avatar Daniel Salzman

src: remove Doxygen header if not API

parent be4fe5c3
/* 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
......@@ -13,14 +13,6 @@
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
......@@ -30,5 +22,3 @@
* \brief Create a response for a given query in the CHAOS class.
*/
int knot_chaos_answer(knot_pkt_t *pkt);
/*! @} */
......@@ -13,14 +13,6 @@
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
......@@ -71,5 +63,3 @@ typedef enum {
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
......@@ -13,14 +13,6 @@
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
......@@ -53,5 +45,3 @@ int ddns_process_prereqs(const knot_pkt_t *query, zone_update_t *update,
*/
int ddns_process_update(const zone_t *zone, const knot_pkt_t *query,
zone_update_t *update, uint16_t *rcode);
/*! @} */
......@@ -13,14 +13,6 @@
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
......@@ -268,5 +260,3 @@ size_t zone_contents_measure_size(zone_contents_t *zone);
* \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
......@@ -13,14 +13,6 @@
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
......@@ -37,5 +29,3 @@
* \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
......@@ -13,14 +13,6 @@
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
......@@ -93,5 +85,3 @@ void print_packet(const knot_pkt_t *packet,
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
......@@ -14,15 +14,6 @@
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>
......@@ -38,5 +29,3 @@
* \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
......@@ -13,14 +13,6 @@
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
......@@ -118,5 +110,3 @@ void lookup_list(lookup_t *lookup);
*/
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
......@@ -13,16 +13,6 @@
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
......@@ -46,5 +36,3 @@ int msg_debug(const char *fmt, ...);
/*! \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
......@@ -13,14 +13,6 @@
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
......@@ -225,5 +217,3 @@ void net_close(net_t *net);
* \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
......@@ -13,14 +13,6 @@
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
......@@ -166,5 +158,3 @@ int params_parse_type(const char *value, uint16_t *rtype, int64_t *serial,
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
......@@ -13,16 +13,6 @@
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
......@@ -32,5 +22,3 @@
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
......@@ -13,16 +13,6 @@
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
......@@ -73,5 +63,3 @@ int tok_find(const char *lp, const char **tbl);
* \return ptr to next non-blank character.
*/
const char *tok_skipspace(const char *lp);
/*! @} */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment