Commit 7638cab0 authored by Lubos Slovak's avatar Lubos Slovak

Moved log to common, needed by libknot.

parent 4756f93e
......@@ -31,6 +31,8 @@ src/common/base64.h
src/common/debug.h
src/common/getline.c
src/common/getline.h
src/common/log.c
src/common/log.h
src/common/memdup.h
src/common/mempool.c
src/common/mempool.h
......@@ -53,8 +55,6 @@ src/common-knot/hhash.c
src/common-knot/hhash.h
src/common-knot/lists.c
src/common-knot/lists.h
src/common-knot/log.c
src/common-knot/log.h
src/common-knot/print.c
src/common-knot/print.h
src/common-knot/ref.c
......
......@@ -81,8 +81,6 @@ libknots_la_SOURCES = \
common-knot/hhash.h \
common-knot/lists.c \
common-knot/lists.h \
common-knot/log.c \
common-knot/log.h \
common-knot/print.c \
common-knot/print.h \
common-knot/ref.c \
......@@ -109,7 +107,9 @@ libknotcs_la_SOURCES = \
common/mempool.h \
common/debug.h \
common/getline.c \
common/getline.h
common/getline.h \
common/log.c \
common/log.h
# static: utilities shared
......
......@@ -31,7 +31,7 @@
#include <stdint.h>
#include <stdio.h>
#include "common-knot/log.h"
#include "common/log.h"
#include "common-knot/print.h"
/*
......
......@@ -22,7 +22,7 @@
#include <unistd.h>
#include <sys/time.h>
#include "common-knot/log.h"
#include "common/log.h"
#include "common-knot/lists.h"
#include "common-knot/strlcpy.h"
#include "knot/conf/conf.h"
......
......@@ -37,7 +37,7 @@
#include "knot/conf/conf.h"
#include "knot/conf/includes.h"
#include "knot/conf/extra.h"
#include "common-knot/log.h"
#include "common/log.h"
#include "libknotd_la-cf-parse.h" /* Automake generated header. */
/* Imported symbols. */
......
......@@ -38,7 +38,7 @@
#include "libknot/dnssec/key.h"
#include "libknot/dnssec/policy.h"
#include "common-knot/lists.h"
#include "common-knot/log.h"
#include "common/log.h"
#include "knot/updates/acl.h"
#include "common-knot/sockaddr.h"
#include "common-knot/hattrie/hat-trie.h"
......
......@@ -16,7 +16,7 @@
#include <sys/stat.h>
#include "knot/ctl/remote.h"
#include "common-knot/log.h"
#include "common/log.h"
#include "common-knot/fdset.h"
#include "knot/knot.h"
#include "knot/conf/conf.h"
......
......@@ -30,7 +30,7 @@
#include <stdint.h>
#include "common-knot/print.h"
#include "common-knot/log.h"
#include "common/log.h"
#include "libknot/errcode.h"
#include "knot/other/debug.h"
......
......@@ -38,7 +38,7 @@
#define KNOTD_SEMCHECK_DEBUG
#endif
#include "common-knot/log.h"
#include "common/log.h"
#include "common-knot/print.h"
/******************************************************************************/
......
......@@ -31,7 +31,7 @@
#include "knot/knot.h"
#include "knot/server/dthreads.h"
#include "common-knot/log.h"
#include "common/log.h"
/* BSD cpu set compatibility. */
#if defined(HAVE_CPUSET_BSD)
......
......@@ -14,7 +14,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common-knot/log.h"
#include "common/log.h"
#include "knot/server/journal.h"
#include "knot/zone/zone-diff.h"
#include "knot/zone/zone-load.h"
......
......@@ -15,10 +15,13 @@
*/
#include <assert.h>
#include "libknot/errcode.h"
#include "libknot/packet/compr.h"
#include "libknot/packet/pkt.h"
#include "common/debug.h"
#include "common/log.h"
#include "libknot/errcode.h"
#include "libknot/packet/pkt.h"
#include "libknot/util/tolower.h"
/*! \brief Case insensitive label compare for compression. */
......
......@@ -19,7 +19,9 @@
#include <stdbool.h>
#include "libknot/packet/pkt.h"
#include "common/debug.h"
#include "common/log.h"
#include "libknot/common.h"
#include "libknot/descriptor.h"
#include "libknot/packet/wire.h"
......
......@@ -22,7 +22,9 @@
#include <time.h>
#include "libknot/rrtype/tsig.h"
#include "common/debug.h"
#include "common/log.h"
#include "libknot/common.h"
#include "libknot/util/utils.h"
#include "libknot/rrset.h"
......
......@@ -21,12 +21,14 @@
#include <time.h>
#include <inttypes.h>
#include "libknot/tsig-op.h"
#include "common/debug.h"
#include "common/log.h"
#include "libknot/common.h"
#include "libknot/descriptor.h"
#include "libknot/rrtype/tsig.h"
#include "libknot/tsig-op.h"
#include "libknot/packet/wire.h"
#include "common/debug.h"
#include "libknot/consts.h"
#include "libknot/dnssec/key.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