Commit bdac7253 authored by Jan Včelák's avatar Jan Včelák 🚀

move libknot/nameserver into knot/nameserver

issue #1
parent 62b6e6d0
......@@ -91,6 +91,22 @@ src/knot/ctl/remote.c
src/knot/ctl/remote.h
src/knot/knot.h
src/knot/main.c
src/knot/nameserver/axfr.c
src/knot/nameserver/axfr.h
src/knot/nameserver/chaos.c
src/knot/nameserver/chaos.h
src/knot/nameserver/internet.c
src/knot/nameserver/internet.h
src/knot/nameserver/ixfr.c
src/knot/nameserver/ixfr.h
src/knot/nameserver/name-server.c
src/knot/nameserver/name-server.h
src/knot/nameserver/ns_proc_query.c
src/knot/nameserver/ns_proc_query.h
src/knot/nameserver/nsec_proofs.c
src/knot/nameserver/nsec_proofs.h
src/knot/nameserver/update.c
src/knot/nameserver/update.h
src/knot/other/debug.h
src/knot/server/dthreads.c
src/knot/server/dthreads.h
......@@ -178,22 +194,6 @@ src/libknot/dnssec/zone-sign.h
src/libknot/edns.c
src/libknot/edns.h
src/libknot/libknot.h
src/libknot/nameserver/axfr.c
src/libknot/nameserver/axfr.h
src/libknot/nameserver/chaos.c
src/libknot/nameserver/chaos.h
src/libknot/nameserver/internet.c
src/libknot/nameserver/internet.h
src/libknot/nameserver/ixfr.c
src/libknot/nameserver/ixfr.h
src/libknot/nameserver/name-server.c
src/libknot/nameserver/name-server.h
src/libknot/nameserver/ns_proc_query.c
src/libknot/nameserver/ns_proc_query.h
src/libknot/nameserver/nsec_proofs.c
src/libknot/nameserver/nsec_proofs.h
src/libknot/nameserver/update.c
src/libknot/nameserver/update.h
src/libknot/packet/compr.c
src/libknot/packet/compr.h
src/libknot/packet/pkt.c
......
......@@ -114,22 +114,6 @@ libknot_la_SOURCES = \
libknot/packet/compr.c \
libknot/packet/compr.h \
libknot/packet/wire.h \
libknot/nameserver/nsec_proofs.h \
libknot/nameserver/nsec_proofs.c \
libknot/nameserver/name-server.h \
libknot/nameserver/name-server.c \
libknot/nameserver/chaos.h \
libknot/nameserver/chaos.c \
libknot/nameserver/internet.h \
libknot/nameserver/internet.c \
libknot/nameserver/axfr.h \
libknot/nameserver/axfr.c \
libknot/nameserver/ixfr.h \
libknot/nameserver/ixfr.c \
libknot/nameserver/update.h \
libknot/nameserver/update.c \
libknot/nameserver/ns_proc_query.h \
libknot/nameserver/ns_proc_query.c \
libknot/updates/changesets.h \
libknot/updates/changesets.c \
libknot/updates/xfr-in.h \
......@@ -253,6 +237,22 @@ libknotd_la_SOURCES = \
knot/ctl/process.h \
knot/ctl/remote.c \
knot/ctl/remote.h \
knot/nameserver/axfr.c \
knot/nameserver/axfr.h \
knot/nameserver/chaos.c \
knot/nameserver/chaos.h \
knot/nameserver/internet.c \
knot/nameserver/internet.h \
knot/nameserver/ixfr.c \
knot/nameserver/ixfr.h \
knot/nameserver/name-server.c \
knot/nameserver/name-server.h \
knot/nameserver/ns_proc_query.c \
knot/nameserver/ns_proc_query.h \
knot/nameserver/nsec_proofs.c \
knot/nameserver/nsec_proofs.h \
knot/nameserver/update.c \
knot/nameserver/update.h \
knot/knot.h \
knot/other/debug.h \
knot/server/dthreads.c \
......@@ -294,10 +294,10 @@ libknotd_la_SOURCES = \
knot/zone/node.h \
knot/zone/zone-contents.c \
knot/zone/zone-contents.h \
knot/zone/zone-diff.c \
knot/zone/zone-diff.h \
knot/zone/zone-tree.c \
knot/zone/zone-tree.h \
knot/zone/zone-diff.c \
knot/zone/zone-diff.h \
knot/zone/zone-tree.c \
knot/zone/zone-tree.h \
knot/zone/zone.c \
knot/zone/zone.h \
knot/zone/zonedb.c \
......
......@@ -26,7 +26,7 @@
#include "knot/server/zones.h"
#include "libknot/packet/wire.h"
#include "common/descriptor.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/tsig-op.h"
#include "libknot/rdata.h"
#include "libknot/dnssec/random.h"
......
......@@ -16,9 +16,9 @@
#include <config.h>
#include "libknot/nameserver/axfr.h"
#include "libknot/nameserver/internet.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/axfr.h"
#include "knot/nameserver/internet.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/util/debug.h"
#include "common/descriptor.h"
#include "common/lists.h"
......
......@@ -29,7 +29,7 @@
#include "libknot/packet/pkt.h"
#include "knot/zone/zonedb.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
struct query_data;
......
......@@ -17,7 +17,7 @@
#include <config.h>
#include <strings.h>
#include "libknot/nameserver/chaos.h"
#include "knot/nameserver/chaos.h"
#include "common/descriptor.h"
#include "libknot/packet/pkt.h"
......
......@@ -29,7 +29,7 @@
#include <stdlib.h>
#include <stdint.h>
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/packet/pkt.h"
/*!
......
#include <config.h>
#include "libknot/nameserver/internet.h"
#include "libknot/nameserver/nsec_proofs.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/internet.h"
#include "knot/nameserver/nsec_proofs.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/common.h"
#include "libknot/rdata.h"
#include "libknot/util/debug.h"
......
......@@ -29,7 +29,7 @@
#include "libknot/packet/pkt.h"
#include "knot/zone/zonedb.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
/* Query data (from query processing). */
struct query_data;
......
#include <config.h>
#include "libknot/nameserver/ixfr.h"
#include "libknot/nameserver/axfr.h"
#include "libknot/nameserver/internet.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/ixfr.h"
#include "knot/nameserver/axfr.h"
#include "knot/nameserver/internet.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/util/debug.h"
#include "libknot/rdata.h"
#include "knot/server/zones.h"
......
......@@ -29,7 +29,7 @@
#include "libknot/packet/pkt.h"
#include "knot/zone/zonedb.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
struct query_data;
......
......@@ -21,7 +21,7 @@
#include <urcu.h>
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/updates/xfr-in.h"
#include "libknot/libknot.h"
......
......@@ -2,7 +2,7 @@
#include <stdio.h>
#include <urcu.h>
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/consts.h"
#include "libknot/util/debug.h"
#include "libknot/common.h"
......@@ -11,11 +11,11 @@
#include "common/acl.h"
/*! \todo Move close to server when done. */
#include "libknot/nameserver/chaos.h"
#include "libknot/nameserver/internet.h"
#include "libknot/nameserver/axfr.h"
#include "libknot/nameserver/ixfr.h"
#include "libknot/nameserver/update.h"
#include "knot/nameserver/chaos.h"
#include "knot/nameserver/internet.h"
#include "knot/nameserver/axfr.h"
#include "knot/nameserver/ixfr.h"
#include "knot/nameserver/update.h"
#include "knot/server/notify.h"
#include "knot/server/server.h"
#include "knot/server/rrl.h"
......@@ -496,7 +496,7 @@ static int prepare_answer(const knot_pkt_t *query, knot_pkt_t *resp, ns_proc_con
}
/* Convert query QNAME to lowercase, but keep original QNAME case.
* Already checked for absence of compression and length.
* Already checked for absence of compression and length.
*/
struct query_data *qdata = QUERY_DATA(ctx);
const knot_dname_t *qname = knot_pkt_qname(query);
......
......@@ -27,7 +27,7 @@
#ifndef _KNOT_NS_PROC_QUERY_H_
#define _KNOT_NS_PROC_QUERY_H_
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "common/acl.h"
/* Query processing module implementation. */
......
#include <config.h>
#include "libknot/nameserver/nsec_proofs.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/nsec_proofs.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/common.h"
#include "libknot/rdata.h"
......
#include <config.h>
#include "libknot/nameserver/update.h"
#include "libknot/nameserver/internet.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/update.h"
#include "knot/nameserver/internet.h"
#include "knot/nameserver/ns_proc_query.h"
#include "knot/nameserver/name-server.h"
#include "libknot/util/debug.h"
#include "libknot/dnssec/zone-events.h"
#include "libknot/updates/ddns.h"
......
......@@ -29,7 +29,7 @@
#include "libknot/packet/pkt.h"
#include "knot/zone/zonedb.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
struct query_data;
......
......@@ -33,9 +33,9 @@
#include "knot/other/debug.h"
#include "knot/server/server.h"
#include "libknot/rdata.h"
#include "libknot/nameserver/internet.h"
#include "knot/nameserver/internet.h"
#include "libknot/util/debug.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/dnssec/random.h"
/*----------------------------------------------------------------------------*/
......
......@@ -35,7 +35,7 @@
#include "knot/zone/zonedb.h"
#include "common/lists.h"
#include "common/sockaddr.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
struct query_data;
......
......@@ -30,7 +30,7 @@
#include "knot/server/zones.h"
#include "knot/conf/conf.h"
#include "knot/stat/stat.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "knot/zone/zonedb.h"
#include "libknot/dname.h"
#include "libknot/dnssec/crypto.h"
......
......@@ -36,7 +36,7 @@
#ifndef _KNOTD_SERVER_H_
#define _KNOTD_SERVER_H_
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "knot/server/xfr-handler.h"
#include "knot/server/socket.h"
#include "knot/server/dthreads.h"
......
......@@ -39,9 +39,9 @@
#include "knot/server/tcp-handler.h"
#include "knot/server/xfr-handler.h"
#include "knot/server/zones.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/packet/wire.h"
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/ns_proc_query.h"
#include "libknot/dnssec/crypto.h"
#include "libknot/dnssec/random.h"
......
......@@ -42,7 +42,7 @@
#include "common/mempool.h"
#include "knot/knot.h"
#include "knot/server/udp-handler.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "knot/stat/stat.h"
#include "knot/server/server.h"
#include "libknot/packet/wire.h"
......@@ -73,7 +73,7 @@ enum {
/* Next-gen packet processing API. */
#define PACKET_NG
#ifdef PACKET_NG
#include "libknot/nameserver/ns_proc_query.h"
#include "knot/nameserver/ns_proc_query.h"
#endif
/* PPS measurement */
......
......@@ -30,7 +30,7 @@
#include "knot/knot.h"
#include "knot/server/xfr-handler.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "knot/server/socket.h"
#include "knot/server/udp-handler.h"
#include "knot/server/tcp-handler.h"
......
......@@ -28,7 +28,7 @@
#define _KNOTD_XFRHANDLER_H_
#include "knot/server/dthreads.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "common/evqueue.h"
#include "common/fdset.h"
......
......@@ -27,7 +27,7 @@
#include "libknot/dname.h"
#include "libknot/dnssec/crypto.h"
#include "libknot/dnssec/random.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/rdata.h"
#include "knot/zone/zone.h"
#include "knot/zone/zone.h"
......
......@@ -26,7 +26,7 @@
#define _KNOTD_ZONE_LOAD_H_
#include "knot/conf/conf.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "knot/zone/zonedb.h"
/*!
......
......@@ -32,7 +32,7 @@
#include "libknot/dnssec/random.h"
#include "libknot/dnssec/zone-events.h"
#include "libknot/dnssec/zone-sign.h"
#include "libknot/nameserver/chaos.h"
#include "knot/nameserver/chaos.h"
#include "libknot/rdata.h"
#include "libknot/tsig-op.h"
#include "libknot/updates/changesets.h"
......
......@@ -32,7 +32,7 @@
#include "common/lists.h"
#include "common/acl.h"
#include "common/evsched.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "knot/zone/zonedb.h"
#include "knot/conf/conf.h"
#include "knot/server/notify.h"
......
......@@ -22,7 +22,7 @@
#include "libknot/util/debug.h"
#include "common/errcode.h"
#include "knot/zone/zone-diff.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "common/descriptor.h"
#include "libknot/rdata.h"
......
......@@ -27,7 +27,7 @@
#include "libknot/common.h"
#include "libknot/consts.h"
#include "common/mempattern.h"
#include "libknot/nameserver/name-server.h" // ns_serial_compare() - TODO: extract
#include "knot/nameserver/name-server.h" // ns_serial_compare() - TODO: extract
#include "libknot/updates/xfr-in.h"
#include "common/descriptor.h"
......
......@@ -22,7 +22,7 @@
#include "libknot/updates/xfr-in.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/packet/wire.h"
#include "libknot/util/debug.h"
#include "libknot/packet/pkt.h"
......
......@@ -33,7 +33,7 @@
#include "libknot/dname.h"
#include "knot/zone/zone.h"
#include "libknot/packet/pkt.h"
#include "libknot/nameserver/name-server.h"
#include "knot/nameserver/name-server.h"
#include "libknot/updates/changesets.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