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

public-libs: Moved libknot/util/* to libknot/internal

parent 3a9f15e9
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 28 deletions
......@@ -173,6 +173,7 @@ src/libknot/internal/base64.c
src/libknot/internal/base64.h
src/libknot/internal/binsearch.h
src/libknot/internal/debug.h
src/libknot/internal/endian.h
src/libknot/internal/errors.c
src/libknot/internal/errors.h
src/libknot/internal/getline.c
......@@ -202,6 +203,10 @@ src/libknot/internal/sockaddr.c
src/libknot/internal/sockaddr.h
src/libknot/internal/strlcpy.c
src/libknot/internal/strlcpy.h
src/libknot/internal/tolower.c
src/libknot/internal/tolower.h
src/libknot/internal/utils.c
src/libknot/internal/utils.h
src/libknot/internal/trie/hat-trie.c
src/libknot/internal/trie/hat-trie.h
src/libknot/internal/trie/murmurhash3.c
......@@ -270,11 +275,6 @@ src/libknot/rrtype/tsig.c
src/libknot/rrtype/tsig.h
src/libknot/tsig-op.c
src/libknot/tsig-op.h
src/libknot/util/endian.h
src/libknot/util/tolower.c
src/libknot/util/tolower.h
src/libknot/util/utils.c
src/libknot/util/utils.h
src/utils/common/exec.c
src/utils/common/exec.h
src/utils/common/msg.c
......
......@@ -209,11 +209,11 @@ libknot_la_SOURCES = \
libknot/rrtype/tsig.h \
libknot/tsig-op.c \
libknot/tsig-op.h \
libknot/util/endian.h \
libknot/util/tolower.c \
libknot/util/tolower.h \
libknot/util/utils.c \
libknot/util/utils.h
libknot/internal/endian.h \
libknot/internal/tolower.c \
libknot/internal/tolower.h \
libknot/internal/utils.c \
libknot/internal/utils.h
# static: server shared
libknotd_la_SOURCES = \
......
......@@ -24,7 +24,7 @@
#include "libknot/internal/debug.h"
#include "libknot/descriptor.h"
#include "libknot/dnssec/bitmap.h"
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
#include "libknot/packet/wire.h"
#include "libknot/rrtype/soa.h"
#include "libknot/rrtype/nsec3.h"
......
......@@ -22,7 +22,7 @@
#include "knot/updates/apply.h"
#include "libknot/internal/debug.h"
#include "libknot/descriptor.h"
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
#include "libknot/rrtype/soa.h"
/* ------------------------ IXFR-out processing ----------------------------- */
......
......@@ -25,7 +25,7 @@
#include "libknot/errcode.h"
#include "knot/updates/acl.h"
#include "knot/conf/conf.h"
#include "libknot/util/endian.h"
#include "libknot/internal/endian.h"
#include "libknot/rrtype/tsig.h"
static inline uint32_t ipv4_chunk(const struct sockaddr_in *ipv4)
......
......@@ -22,7 +22,7 @@
#include "libknot/errcode.h"
#include "knot/zone/zone-diff.h"
#include "libknot/descriptor.h"
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
#include "libknot/rrtype/soa.h"
struct zone_diff_param {
......
......@@ -33,7 +33,7 @@
#include "libknot/common.h"
#include "libknot/dname.h"
#include "libknot/dnssec/random.h"
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
#include "libknot/rrtype/soa.h"
static void free_ddns_queue(zone_t *z)
......
......@@ -29,7 +29,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
/*!
* \brief Basic limits for domain names (RFC 1035).
......
......@@ -28,8 +28,8 @@
#include "libknot/common.h"
#include "libknot/consts.h"
#include "libknot/util/tolower.h"
#include "libknot/util/utils.h"
#include "libknot/internal/tolower.h"
#include "libknot/internal/utils.h"
#include "libknot/packet/wire.h"
/*----------------------------------------------------------------------------*/
......
File moved
......@@ -14,7 +14,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "libknot/util/tolower.h"
#include "libknot/internal/tolower.h"
#include "libknot/common.h"
......
File moved
......@@ -19,10 +19,10 @@
#include <fcntl.h>
#include <unistd.h>
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
#include "libknot/common.h"
#include "libknot/util/endian.h"
#include "libknot/internal/endian.h"
/*----------------------------------------------------------------------------*/
_public_
......
File moved
......@@ -46,7 +46,7 @@
#include "libknot/rrtype/soa.h"
#include "libknot/rrtype/tsig.h"
#include "libknot/tsig-op.h"
#include "libknot/util/tolower.h"
#include "libknot/util/utils.h"
#include "libknot/internal/tolower.h"
#include "libknot/internal/utils.h"
/*! @} */
......@@ -23,7 +23,7 @@
#include "libknot/errcode.h"
#include "libknot/packet/pkt.h"
#include "libknot/util/tolower.h"
#include "libknot/internal/tolower.h"
/*! \brief Case insensitive label compare for compression. */
static bool compr_label_match(const uint8_t *n, const uint8_t *p)
......
......@@ -29,7 +29,7 @@
#include <stdint.h>
#include <assert.h>
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
/*! \brief Offset of DNS header fields in wireformat. */
enum knot_wire_offsets {
......
......@@ -36,7 +36,7 @@
#include "libknot/descriptor.h" // KNOT_RRTYPE
#include "libknot/dnssec/key.h" // knot_keytag
#include "libknot/consts.h" // knot_rcode_names
#include "libknot/util/utils.h" // knot_wire_read_u16
#include "libknot/internal/utils.h" // knot_wire_read_u16
#define TAB_WIDTH 8
#define BLOCK_WIDTH 40
......
......@@ -20,7 +20,7 @@
#include "libknot/common.h"
#include "libknot/rrtype/nsec3.h"
#include "libknot/util/tolower.h"
#include "libknot/internal/tolower.h"
#include "libknot/errcode.h"
/*!
......
......@@ -28,7 +28,7 @@
#include <stdint.h>
#include "libknot/util/utils.h"
#include "libknot/internal/utils.h"
#include "libknot/rrset.h"
/* Forward declaration. */
......
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