Commit 8c79e396 authored by Daniel Salzman's avatar Daniel Salzman

dname: remove libknot/consts.h include from the header

parent 4b9ef7da
......@@ -19,6 +19,7 @@
#include <stdlib.h>
#include "knot/modules/online_sign/nsec_next.h"
#include "libknot/consts.h"
#include "libknot/dname.h"
#include "libknot/errcode.h"
......
......@@ -20,6 +20,7 @@
#include "knot/zone/zone-tree.h"
#include "knot/zone/node.h"
#include "libknot/consts.h"
#include "libknot/internal/trie/hat-trie.h"
#include "libknot/internal/macros.h"
......
/*!
* \file dname.h
*
* \author Lubos Slovak <lubos.slovak@nic.cz>
*
* \brief Domain name structure and API for manipulating it.
*
* \addtogroup libknot
* @{
*/
/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
......@@ -23,6 +13,14 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* \file
*
* \brief Domain name structure and API for manipulating it.
*
* \addtogroup libknot
* @{
*/
#pragma once
......@@ -31,7 +29,6 @@
#include <stdio.h>
#include <stdbool.h>
#include "libknot/consts.h"
#include "libknot/internal/mempattern.h"
/*! \brief Type representing a domain name in wire format. */
......
......@@ -29,6 +29,7 @@
#include <stdint.h>
#include <string.h>
#include "libknot/consts.h"
#include "libknot/dname.h"
#include "libknot/rrset.h"
#include "libknot/rrtype/opt.h"
......
......@@ -19,6 +19,7 @@
#include <assert.h>
#include <string.h>
#include "libknot/consts.h"
#include "libknot/rrtype/opt.h"
#include "libknot/descriptor.h"
#include "libknot/internal/macros.h"
......
......@@ -18,6 +18,7 @@
#include "libknot/rdataset.h"
#include "libknot/dname.h"
#include "libknot/internal/utils.h"
static inline
const knot_dname_t *knot_soa_primary_ns(const knot_rdataset_t *rrs)
......
......@@ -17,6 +17,7 @@
#include <stdlib.h>
#include <tap/basic.h>
#include "libknot/consts.h"
#include "libknot/dname.h"
/* Test dname_parse_from_wire */
......
......@@ -18,6 +18,7 @@
#include <assert.h>
#include "knot/modules/online_sign/nsec_next.h"
#include "libknot/consts.h"
#include "libknot/dname.h"
#include "libknot/errcode.h"
......
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