Skip to content
Snippets Groups Projects
Commit 763cd9aa authored by Lubos Slovak's avatar Lubos Slovak
Browse files

libknot: errcode moved to libknot (dependency)

parent 51ffcb4f
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,6 @@ src/common/mempool.h
src/common-knot/array-sort.h
src/common-knot/binsearch.h
src/common-knot/crc.h
src/common-knot/errors.c
src/common-knot/errors.h
src/common-knot/evsched.c
src/common-knot/evsched.h
src/common-knot/fdset.c
......@@ -219,6 +217,8 @@ src/libknot/dnssec/sign.c
src/libknot/dnssec/sign.h
src/libknot/errcode.c
src/libknot/errcode.h
src/libknot/errors.c
src/libknot/errors.h
src/libknot/libknot.h
src/libknot/mempattern.c
src/libknot/mempattern.h
......
......@@ -65,8 +65,6 @@ libknots_la_SOURCES = \
common-knot/array-sort.h \
common-knot/binsearch.h \
common-knot/crc.h \
common-knot/errors.c \
common-knot/errors.h \
common-knot/evsched.c \
common-knot/evsched.h \
common-knot/fdset.c \
......@@ -158,6 +156,8 @@ libknot_la_SOURCES = \
libknot/dnssec/sign.h \
libknot/errcode.c \
libknot/errcode.h \
libknot/errors.c \
libknot/errors.h \
libknot/libknot.h \
libknot/mempattern.c \
libknot/mempattern.h \
......
......@@ -27,7 +27,7 @@
#include "common-knot/hattrie/murmurhash3.h"
#include "libknot/dnssec/random.h"
#include "libknot/descriptor.h"
#include "common-knot/errors.h"
#include "libknot/errors.h"
#include "knot/zone/zone.h"
/* Hopscotch defines. */
......
......@@ -15,7 +15,7 @@
*/
#include "libknot/errcode.h"
#include "common-knot/errors.h"
#include "libknot/errors.h"
const error_table_t knot_error_msgs[] = {
{ KNOT_EOK, "OK" },
......
......@@ -28,7 +28,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef _KNOTD_COMMON_ERRCODE_H_
#define _KNOTD_COMMON_ERRCODE_H_
#include "common-knot/errors.h"
#include <errno.h>
#include "libknot/errors.h"
/* errno -> Knot error mapping.
* \note offset is required, otherwise it would interfere with TSIG errors.
......
......@@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "common-knot/errors.h"
#include "libknot/errors.h"
#include "libknot/errcode.h"
/*!
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment