]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
zscanner: move to libzscanner
authorDaniel Salzman <daniel.salzman@nic.cz>
Mon, 12 Mar 2018 10:16:20 +0000 (11:16 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Mon, 12 Mar 2018 12:37:09 +0000 (13:37 +0100)
202 files changed:
.gitignore
Doxyfile.in
Knot.files
Knot.includes
Makefile.am
configure.ac
scripts/update-parser.sh
src/Makefile.am
src/knot/ctl/commands.c
src/knot/zone/zonefile.h
src/libzscanner/Makefile.am [moved from src/zscanner/Makefile.am with 100% similarity]
src/libzscanner/NOTES [moved from src/zscanner/NOTES with 100% similarity]
src/libzscanner/error.c [moved from src/zscanner/error.c with 99% similarity]
src/libzscanner/error.h [moved from src/zscanner/error.h with 100% similarity]
src/libzscanner/functions.c [moved from src/zscanner/functions.c with 99% similarity]
src/libzscanner/functions.h [moved from src/zscanner/functions.h with 100% similarity]
src/libzscanner/libzscanner.pc.in [moved from src/zscanner/libzscanner.pc.in with 100% similarity]
src/libzscanner/scanner.c.g2 [moved from src/zscanner/scanner.c.g2 with 99% similarity]
src/libzscanner/scanner.c.t0 [moved from src/zscanner/scanner.c.t0 with 99% similarity]
src/libzscanner/scanner.h [moved from src/zscanner/scanner.h with 98% similarity]
src/libzscanner/scanner.rl [moved from src/zscanner/scanner.rl with 99% similarity]
src/libzscanner/scanner_body.rl [moved from src/zscanner/scanner_body.rl with 100% similarity]
src/libzscanner/version.h.in [moved from src/zscanner/version.h.in with 100% similarity]
src/utils/keymgr/functions.c
src/utils/knotc/estimator.h
src/utils/knsupdate/knsupdate_params.h
tests-fuzz/Makefile.am
tests-fuzz/fuzz_zscanner.c
tests/.gitignore
tests/Makefile.am
tests/knot/test_zone-update.c
tests/libzscanner/TESTS [moved from tests/zscanner/TESTS with 100% similarity]
tests/libzscanner/data/00-0_general.in [moved from tests/zscanner/data/00-0_general.in with 100% similarity]
tests/libzscanner/data/00-0_general.out [moved from tests/zscanner/data/00-0_general.out with 100% similarity]
tests/libzscanner/data/00-1_general.in [moved from tests/zscanner/data/00-1_general.in with 100% similarity]
tests/libzscanner/data/00-1_general.out [moved from tests/zscanner/data/00-1_general.out with 100% similarity]
tests/libzscanner/data/00-2_general.in [moved from tests/zscanner/data/00-2_general.in with 100% similarity]
tests/libzscanner/data/00-2_general.out [moved from tests/zscanner/data/00-2_general.out with 100% similarity]
tests/libzscanner/data/00-3_general.in [moved from tests/zscanner/data/00-3_general.in with 100% similarity]
tests/libzscanner/data/00-3_general.out [moved from tests/zscanner/data/00-3_general.out with 100% similarity]
tests/libzscanner/data/00-4_general.in [moved from tests/zscanner/data/00-4_general.in with 100% similarity]
tests/libzscanner/data/00-4_general.out [moved from tests/zscanner/data/00-4_general.out with 100% similarity]
tests/libzscanner/data/01_owner.in [moved from tests/zscanner/data/01_owner.in with 100% similarity]
tests/libzscanner/data/01_owner.out [moved from tests/zscanner/data/01_owner.out with 100% similarity]
tests/libzscanner/data/02_class.in [moved from tests/zscanner/data/02_class.in with 100% similarity]
tests/libzscanner/data/02_class.out [moved from tests/zscanner/data/02_class.out with 100% similarity]
tests/libzscanner/data/03_rrttl.in [moved from tests/zscanner/data/03_rrttl.in with 100% similarity]
tests/libzscanner/data/03_rrttl.out [moved from tests/zscanner/data/03_rrttl.out with 100% similarity]
tests/libzscanner/data/04-0_ORIGIN.in [moved from tests/zscanner/data/04-0_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-0_ORIGIN.out [moved from tests/zscanner/data/04-0_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-1_ORIGIN.in [moved from tests/zscanner/data/04-1_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-1_ORIGIN.out [moved from tests/zscanner/data/04-1_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-2_ORIGIN.in [moved from tests/zscanner/data/04-2_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-2_ORIGIN.out [moved from tests/zscanner/data/04-2_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-3_ORIGIN.in [moved from tests/zscanner/data/04-3_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-3_ORIGIN.out [moved from tests/zscanner/data/04-3_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-4_ORIGIN.in [moved from tests/zscanner/data/04-4_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-4_ORIGIN.out [moved from tests/zscanner/data/04-4_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-5_ORIGIN.in [moved from tests/zscanner/data/04-5_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-5_ORIGIN.out [moved from tests/zscanner/data/04-5_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-6_ORIGIN.in [moved from tests/zscanner/data/04-6_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-6_ORIGIN.out [moved from tests/zscanner/data/04-6_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-7_ORIGIN.in [moved from tests/zscanner/data/04-7_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-7_ORIGIN.out [moved from tests/zscanner/data/04-7_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-8_ORIGIN.in [moved from tests/zscanner/data/04-8_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-8_ORIGIN.out [moved from tests/zscanner/data/04-8_ORIGIN.out with 100% similarity]
tests/libzscanner/data/04-9_ORIGIN.in [moved from tests/zscanner/data/04-9_ORIGIN.in with 100% similarity]
tests/libzscanner/data/04-9_ORIGIN.out [moved from tests/zscanner/data/04-9_ORIGIN.out with 100% similarity]
tests/libzscanner/data/05-0_TTL.in [moved from tests/zscanner/data/05-0_TTL.in with 100% similarity]
tests/libzscanner/data/05-0_TTL.out [moved from tests/zscanner/data/05-0_TTL.out with 100% similarity]
tests/libzscanner/data/05-1_TTL.in [moved from tests/zscanner/data/05-1_TTL.in with 100% similarity]
tests/libzscanner/data/05-1_TTL.out [moved from tests/zscanner/data/05-1_TTL.out with 100% similarity]
tests/libzscanner/data/05-2_TTL.in [moved from tests/zscanner/data/05-2_TTL.in with 100% similarity]
tests/libzscanner/data/05-2_TTL.out [moved from tests/zscanner/data/05-2_TTL.out with 100% similarity]
tests/libzscanner/data/05-3_TTL.in [moved from tests/zscanner/data/05-3_TTL.in with 100% similarity]
tests/libzscanner/data/05-3_TTL.out [moved from tests/zscanner/data/05-3_TTL.out with 100% similarity]
tests/libzscanner/data/05-4_TTL.in [moved from tests/zscanner/data/05-4_TTL.in with 100% similarity]
tests/libzscanner/data/05-4_TTL.out [moved from tests/zscanner/data/05-4_TTL.out with 100% similarity]
tests/libzscanner/data/06-0_INCLUDE.in [moved from tests/zscanner/data/06-0_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-0_INCLUDE.out [moved from tests/zscanner/data/06-0_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-1_INCLUDE.in [moved from tests/zscanner/data/06-1_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-1_INCLUDE.out [moved from tests/zscanner/data/06-1_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-2_INCLUDE.in [moved from tests/zscanner/data/06-2_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-2_INCLUDE.out [moved from tests/zscanner/data/06-2_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-3_INCLUDE.in [moved from tests/zscanner/data/06-3_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-3_INCLUDE.out [moved from tests/zscanner/data/06-3_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-4_INCLUDE.in [moved from tests/zscanner/data/06-4_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-4_INCLUDE.out [moved from tests/zscanner/data/06-4_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-5_INCLUDE.in [moved from tests/zscanner/data/06-5_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-5_INCLUDE.out [moved from tests/zscanner/data/06-5_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-6_INCLUDE.in [moved from tests/zscanner/data/06-6_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-6_INCLUDE.out [moved from tests/zscanner/data/06-6_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-7_INCLUDE.in [moved from tests/zscanner/data/06-7_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-7_INCLUDE.out [moved from tests/zscanner/data/06-7_INCLUDE.out with 100% similarity]
tests/libzscanner/data/06-8_INCLUDE.in [moved from tests/zscanner/data/06-8_INCLUDE.in with 100% similarity]
tests/libzscanner/data/06-8_INCLUDE.out [moved from tests/zscanner/data/06-8_INCLUDE.out with 100% similarity]
tests/libzscanner/data/07-0-rdata.in [moved from tests/zscanner/data/07-0-rdata.in with 100% similarity]
tests/libzscanner/data/07-0-rdata.out [moved from tests/zscanner/data/07-0-rdata.out with 100% similarity]
tests/libzscanner/data/07-1-rdata.in [moved from tests/zscanner/data/07-1-rdata.in with 100% similarity]
tests/libzscanner/data/07-1-rdata.out [moved from tests/zscanner/data/07-1-rdata.out with 100% similarity]
tests/libzscanner/data/07-2-rdata.in [moved from tests/zscanner/data/07-2-rdata.in with 100% similarity]
tests/libzscanner/data/07-2-rdata.out [moved from tests/zscanner/data/07-2-rdata.out with 100% similarity]
tests/libzscanner/data/07-3-rdata.in [moved from tests/zscanner/data/07-3-rdata.in with 100% similarity]
tests/libzscanner/data/07-3-rdata.out [moved from tests/zscanner/data/07-3-rdata.out with 100% similarity]
tests/libzscanner/data/07-4-rdata.in [moved from tests/zscanner/data/07-4-rdata.in with 100% similarity]
tests/libzscanner/data/07-4-rdata.out [moved from tests/zscanner/data/07-4-rdata.out with 100% similarity]
tests/libzscanner/data/10_A.in [moved from tests/zscanner/data/10_A.in with 100% similarity]
tests/libzscanner/data/10_A.out [moved from tests/zscanner/data/10_A.out with 100% similarity]
tests/libzscanner/data/11_AAAA.in [moved from tests/zscanner/data/11_AAAA.in with 100% similarity]
tests/libzscanner/data/11_AAAA.out [moved from tests/zscanner/data/11_AAAA.out with 100% similarity]
tests/libzscanner/data/12_TXT.in [moved from tests/zscanner/data/12_TXT.in with 100% similarity]
tests/libzscanner/data/12_TXT.out [moved from tests/zscanner/data/12_TXT.out with 100% similarity]
tests/libzscanner/data/13_SPF.in [moved from tests/zscanner/data/13_SPF.in with 100% similarity]
tests/libzscanner/data/13_SPF.out [moved from tests/zscanner/data/13_SPF.out with 100% similarity]
tests/libzscanner/data/14_NS.in [moved from tests/zscanner/data/14_NS.in with 100% similarity]
tests/libzscanner/data/14_NS.out [moved from tests/zscanner/data/14_NS.out with 100% similarity]
tests/libzscanner/data/15_CNAME.in [moved from tests/zscanner/data/15_CNAME.in with 100% similarity]
tests/libzscanner/data/15_CNAME.out [moved from tests/zscanner/data/15_CNAME.out with 100% similarity]
tests/libzscanner/data/16_PTR.in [moved from tests/zscanner/data/16_PTR.in with 100% similarity]
tests/libzscanner/data/16_PTR.out [moved from tests/zscanner/data/16_PTR.out with 100% similarity]
tests/libzscanner/data/17_DNAME.in [moved from tests/zscanner/data/17_DNAME.in with 100% similarity]
tests/libzscanner/data/17_DNAME.out [moved from tests/zscanner/data/17_DNAME.out with 100% similarity]
tests/libzscanner/data/18_MX.in [moved from tests/zscanner/data/18_MX.in with 100% similarity]
tests/libzscanner/data/18_MX.out [moved from tests/zscanner/data/18_MX.out with 100% similarity]
tests/libzscanner/data/19_AFSDB.in [moved from tests/zscanner/data/19_AFSDB.in with 100% similarity]
tests/libzscanner/data/19_AFSDB.out [moved from tests/zscanner/data/19_AFSDB.out with 100% similarity]
tests/libzscanner/data/20_RT.in [moved from tests/zscanner/data/20_RT.in with 100% similarity]
tests/libzscanner/data/20_RT.out [moved from tests/zscanner/data/20_RT.out with 100% similarity]
tests/libzscanner/data/21_KX.in [moved from tests/zscanner/data/21_KX.in with 100% similarity]
tests/libzscanner/data/21_KX.out [moved from tests/zscanner/data/21_KX.out with 100% similarity]
tests/libzscanner/data/22_HINFO.in [moved from tests/zscanner/data/22_HINFO.in with 100% similarity]
tests/libzscanner/data/22_HINFO.out [moved from tests/zscanner/data/22_HINFO.out with 100% similarity]
tests/libzscanner/data/23_MINFO.in [moved from tests/zscanner/data/23_MINFO.in with 100% similarity]
tests/libzscanner/data/23_MINFO.out [moved from tests/zscanner/data/23_MINFO.out with 100% similarity]
tests/libzscanner/data/24_RP.in [moved from tests/zscanner/data/24_RP.in with 100% similarity]
tests/libzscanner/data/24_RP.out [moved from tests/zscanner/data/24_RP.out with 100% similarity]
tests/libzscanner/data/25_SOA.in [moved from tests/zscanner/data/25_SOA.in with 100% similarity]
tests/libzscanner/data/25_SOA.out [moved from tests/zscanner/data/25_SOA.out with 100% similarity]
tests/libzscanner/data/26_SRV.in [moved from tests/zscanner/data/26_SRV.in with 100% similarity]
tests/libzscanner/data/26_SRV.out [moved from tests/zscanner/data/26_SRV.out with 100% similarity]
tests/libzscanner/data/27_NAPTR.in [moved from tests/zscanner/data/27_NAPTR.in with 100% similarity]
tests/libzscanner/data/27_NAPTR.out [moved from tests/zscanner/data/27_NAPTR.out with 100% similarity]
tests/libzscanner/data/28_TYPE.in [moved from tests/zscanner/data/28_TYPE.in with 100% similarity]
tests/libzscanner/data/28_TYPE.out [moved from tests/zscanner/data/28_TYPE.out with 100% similarity]
tests/libzscanner/data/29_CERT.in [moved from tests/zscanner/data/29_CERT.in with 100% similarity]
tests/libzscanner/data/29_CERT.out [moved from tests/zscanner/data/29_CERT.out with 100% similarity]
tests/libzscanner/data/30_KEY.in [moved from tests/zscanner/data/30_KEY.in with 100% similarity]
tests/libzscanner/data/30_KEY.out [moved from tests/zscanner/data/30_KEY.out with 100% similarity]
tests/libzscanner/data/31_DNSKEY.in [moved from tests/zscanner/data/31_DNSKEY.in with 100% similarity]
tests/libzscanner/data/31_DNSKEY.out [moved from tests/zscanner/data/31_DNSKEY.out with 100% similarity]
tests/libzscanner/data/32_APL.in [moved from tests/zscanner/data/32_APL.in with 100% similarity]
tests/libzscanner/data/32_APL.out [moved from tests/zscanner/data/32_APL.out with 100% similarity]
tests/libzscanner/data/33_DS.in [moved from tests/zscanner/data/33_DS.in with 100% similarity]
tests/libzscanner/data/33_DS.out [moved from tests/zscanner/data/33_DS.out with 100% similarity]
tests/libzscanner/data/34_SSHFP.in [moved from tests/zscanner/data/34_SSHFP.in with 100% similarity]
tests/libzscanner/data/34_SSHFP.out [moved from tests/zscanner/data/34_SSHFP.out with 100% similarity]
tests/libzscanner/data/35_IPSECKEY.in [moved from tests/zscanner/data/35_IPSECKEY.in with 100% similarity]
tests/libzscanner/data/35_IPSECKEY.out [moved from tests/zscanner/data/35_IPSECKEY.out with 100% similarity]
tests/libzscanner/data/36_RRSIG.in [moved from tests/zscanner/data/36_RRSIG.in with 100% similarity]
tests/libzscanner/data/36_RRSIG.out [moved from tests/zscanner/data/36_RRSIG.out with 100% similarity]
tests/libzscanner/data/37_NSEC.in [moved from tests/zscanner/data/37_NSEC.in with 100% similarity]
tests/libzscanner/data/37_NSEC.out [moved from tests/zscanner/data/37_NSEC.out with 100% similarity]
tests/libzscanner/data/38_DHCID.in [moved from tests/zscanner/data/38_DHCID.in with 100% similarity]
tests/libzscanner/data/38_DHCID.out [moved from tests/zscanner/data/38_DHCID.out with 100% similarity]
tests/libzscanner/data/39_NSEC3.in [moved from tests/zscanner/data/39_NSEC3.in with 100% similarity]
tests/libzscanner/data/39_NSEC3.out [moved from tests/zscanner/data/39_NSEC3.out with 100% similarity]
tests/libzscanner/data/40_NSEC3PARAM.in [moved from tests/zscanner/data/40_NSEC3PARAM.in with 100% similarity]
tests/libzscanner/data/40_NSEC3PARAM.out [moved from tests/zscanner/data/40_NSEC3PARAM.out with 100% similarity]
tests/libzscanner/data/41_TLSA.in [moved from tests/zscanner/data/41_TLSA.in with 100% similarity]
tests/libzscanner/data/41_TLSA.out [moved from tests/zscanner/data/41_TLSA.out with 100% similarity]
tests/libzscanner/data/42_LOC.in [moved from tests/zscanner/data/42_LOC.in with 100% similarity]
tests/libzscanner/data/42_LOC.out [moved from tests/zscanner/data/42_LOC.out with 100% similarity]
tests/libzscanner/data/43_EUI48.in [moved from tests/zscanner/data/43_EUI48.in with 100% similarity]
tests/libzscanner/data/43_EUI48.out [moved from tests/zscanner/data/43_EUI48.out with 100% similarity]
tests/libzscanner/data/44_EUI64.in [moved from tests/zscanner/data/44_EUI64.in with 100% similarity]
tests/libzscanner/data/44_EUI64.out [moved from tests/zscanner/data/44_EUI64.out with 100% similarity]
tests/libzscanner/data/45_NID.in [moved from tests/zscanner/data/45_NID.in with 100% similarity]
tests/libzscanner/data/45_NID.out [moved from tests/zscanner/data/45_NID.out with 100% similarity]
tests/libzscanner/data/46_L32.in [moved from tests/zscanner/data/46_L32.in with 100% similarity]
tests/libzscanner/data/46_L32.out [moved from tests/zscanner/data/46_L32.out with 100% similarity]
tests/libzscanner/data/47_L64.in [moved from tests/zscanner/data/47_L64.in with 100% similarity]
tests/libzscanner/data/47_L64.out [moved from tests/zscanner/data/47_L64.out with 100% similarity]
tests/libzscanner/data/48_LP.in [moved from tests/zscanner/data/48_LP.in with 100% similarity]
tests/libzscanner/data/48_LP.out [moved from tests/zscanner/data/48_LP.out with 100% similarity]
tests/libzscanner/data/49_CDS.in [moved from tests/zscanner/data/49_CDS.in with 100% similarity]
tests/libzscanner/data/49_CDS.out [moved from tests/zscanner/data/49_CDS.out with 100% similarity]
tests/libzscanner/data/50_CDNSKEY.in [moved from tests/zscanner/data/50_CDNSKEY.in with 100% similarity]
tests/libzscanner/data/50_CDNSKEY.out [moved from tests/zscanner/data/50_CDNSKEY.out with 100% similarity]
tests/libzscanner/data/51_URI.in [moved from tests/zscanner/data/51_URI.in with 100% similarity]
tests/libzscanner/data/51_URI.out [moved from tests/zscanner/data/51_URI.out with 100% similarity]
tests/libzscanner/data/52_CAA.in [moved from tests/zscanner/data/52_CAA.in with 100% similarity]
tests/libzscanner/data/52_CAA.out [moved from tests/zscanner/data/52_CAA.out with 100% similarity]
tests/libzscanner/data/includes/include1 [moved from tests/zscanner/data/includes/include1 with 100% similarity]
tests/libzscanner/data/includes/include2 [moved from tests/zscanner/data/includes/include2 with 100% similarity]
tests/libzscanner/data/includes/include3 [moved from tests/zscanner/data/includes/include3 with 100% similarity]
tests/libzscanner/data/includes/include4 [moved from tests/zscanner/data/includes/include4 with 100% similarity]
tests/libzscanner/data/includes/include5 [moved from tests/zscanner/data/includes/include5 with 100% similarity]
tests/libzscanner/data/includes/include6 [moved from tests/zscanner/data/includes/include6 with 100% similarity]
tests/libzscanner/processing.c [moved from tests/zscanner/processing.c with 97% similarity]
tests/libzscanner/processing.h [moved from tests/zscanner/processing.h with 96% similarity]
tests/libzscanner/test_zscanner.in [moved from tests/zscanner/test_zscanner.in with 92% similarity]
tests/libzscanner/zscanner-tool.c [moved from tests/zscanner/zscanner-tool.c with 98% similarity]

index 037ede74da4aab4201c49255dc3536b40b0f0c85..583b7b531bbd0307458beafdef6f2812febc5309 100644 (file)
@@ -17,8 +17,8 @@
 /Makefile.in
 /src/Makefile
 /src/Makefile.in
-/src/zscanner/Makefile
-/src/zscanner/Makefile.in
+/src/libzscanner/Makefile
+/src/libzscanner/Makefile.in
 /python/Makefile
 /python/Makefile.in
 /samples/Makefile
@@ -66,9 +66,9 @@
 /src/contrib/dnstap/dnstap.pb-c.h
 
 # zscanner
-/src/zscanner/libzscanner.pc
-/src/zscanner/scanner.c
-/src/zscanner/version.h
+/src/libzscanner/libzscanner.pc
+/src/libzscanner/scanner.c
+/src/libzscanner/version.h
 
 # Binaries
 /src/kdig
index 20ce400c8d8591e9783c975d1a32273c661b4f9e..e58b047ccff1543b8ca8ff5ee5fb192ef265d313 100644 (file)
@@ -784,7 +784,7 @@ WARN_LOGFILE           = doc/html/doxygen.warn
 INPUT                  = Doxy.page.h \
                          src/libdnssec \
                          src/libknot \
-                         src/zscanner \
+                         src/libzscanner \
                          src/knot/include
 
 # This tag can be used to specify the character encoding of the source files
index 0c3a6cb7821d829fd2759d575dad5ccc2ce9028a..fb4a318b1e7b1d72289f60ef69de94579875c0bd 100644 (file)
@@ -359,6 +359,13 @@ src/libknot/yparser/ypschema.c
 src/libknot/yparser/ypschema.h
 src/libknot/yparser/yptrafo.c
 src/libknot/yparser/yptrafo.h
+src/libzscanner/error.c
+src/libzscanner/error.h
+src/libzscanner/functions.c
+src/libzscanner/functions.h
+src/libzscanner/scanner.h
+src/libzscanner/scanner.rl
+src/libzscanner/scanner_body.rl
 src/utils/common/cert.c
 src/utils/common/cert.h
 src/utils/common/exec.c
@@ -414,13 +421,6 @@ src/utils/knsupdate/knsupdate_params.h
 src/utils/kzonecheck/main.c
 src/utils/kzonecheck/zone_check.c
 src/utils/kzonecheck/zone_check.h
-src/zscanner/error.c
-src/zscanner/error.h
-src/zscanner/functions.c
-src/zscanner/functions.h
-src/zscanner/scanner.h
-src/zscanner/scanner.rl
-src/zscanner/scanner_body.rl
 tests-fuzz/fuzz_packet.c
 tests-fuzz/fuzz_zscanner.c
 tests-fuzz/knotd_wrap/afl-loop.h
@@ -513,10 +513,10 @@ tests/libknot/test_wire.c
 tests/libknot/test_yparser.c
 tests/libknot/test_ypschema.c
 tests/libknot/test_yptrafo.c
+tests/libzscanner/processing.c
+tests/libzscanner/processing.h
+tests/libzscanner/zscanner-tool.c
 tests/modules/test_onlinesign.c
 tests/modules/test_rrl.c
 tests/utils/test_cert.c
 tests/utils/test_lookup.c
-tests/zscanner/processing.c
-tests/zscanner/processing.h
-tests/zscanner/zscanner-tool.c
index db61e00f34750e22c1c81f8cc402560dc531d587..7b61db7ba4f8c3e48b5899be663b6c66e9d8abdb 100644 (file)
@@ -2,7 +2,7 @@ src
 src/contrib
 src/libdnssec
 src/libdnssec/shared
-src/zscanner
+src/libzscanner
 tests
 tests-fuzz
 tests-fuzz/knotd_wrap
index 7b8fd3e36b9f90419791db276cb9e52e4a6ef560..823176eeecc4796d1f138bd3292bfcc9e427c7d9 100644 (file)
@@ -17,10 +17,10 @@ CODE_COVERAGE_INFO = coverage.info
 CODE_COVERAGE_HTML = coverage.html
 CODE_COVERAGE_DIRS =           \
        src/contrib             \
-       src/libdnssec           \
        src/knot                \
+       src/libdnssec           \
        src/libknot             \
-       src/zscanner
+       src/libzscanner
 
 code_coverage_quiet = --quiet
 
index 00ac470f93a32226594c1e451e85eb817516e558..e29c7e8e92d6047cdff733c84406c19084f87546 100644 (file)
@@ -24,8 +24,8 @@ AC_SUBST([KNOT_VERSION_PATCH], knot_VERSION_PATCH)
 AC_SUBST([KNOT_VERSION_EXTRA], knot_VERSION_EXTRA)
 
 AC_CONFIG_FILES([src/libknot/version.h
-                 src/zscanner/version.h
-                 src/libdnssec/version.h])
+                 src/libdnssec/version.h
+                 src/libzscanner/version.h])
 
 # Store ./configure parameters into macro
 AC_DEFINE_UNQUOTED([CONFIGURE_PARAMS],["$configure_params"],[Params passed to configure])
@@ -62,7 +62,7 @@ m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], [AC_SUBST([pkgconfigdir], ['${libdi
 AC_CONFIG_FILES([src/knotd.pc
                  src/libknot.pc
                  src/libdnssec/libdnssec.pc
-                 src/zscanner/libzscanner.pc
+                 src/libzscanner/libzscanner.pc
                  ])
 
 # Build Knot DNS daemon
@@ -588,9 +588,9 @@ AC_CONFIG_FILES([Makefile
                  python/Makefile
                  src/Makefile
                  src/contrib/dnstap/Makefile
-                 src/libdnssec/Makefile
                  src/knot/modules/static_modules.h
-                 src/zscanner/Makefile
+                 src/libdnssec/Makefile
+                 src/libzscanner/Makefile
                  ])
 
 AC_CONFIG_FILES([src/utils/pykeymgr/pykeymgr], [chmod +x src/utils/pykeymgr/pykeymgr])
index e222caba3960a62295b239faceac18bf4a3d23da..665d311ba6797b01b372fc568cac5bea86f18ef7 100755 (executable)
@@ -6,7 +6,7 @@ IN="./scanner.rl"
 OUT_T0="./scanner.c.t0"
 OUT_G2="./scanner.c.g2"
 
-pushd ../src/zscanner/
+pushd ../src/libzscanner/
 
 # Generate slower/small zone parser.
 ragel -T0 -s -o $OUT_T0 $IN
index d8b02dfc4ef4ebc02d291cbf0b6d8932c82f968b..4559b0520cfe3f63bceb1f07481d5cbabbda099f 100644 (file)
@@ -1,5 +1,5 @@
 ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
-SUBDIRS = zscanner libdnssec contrib/dnstap .
+SUBDIRS = libzscanner libdnssec contrib/dnstap .
 
 lib_LTLIBRARIES =                              \
        libknot.la
@@ -364,7 +364,7 @@ libknotd_la_SOURCES =                               \
 libknotd_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) $(systemd_CFLAGS) \
                        $(liburcu_CFLAGS) -DKNOTD_MOD_STATIC
 libknotd_la_LDFLAGS  = $(AM_LDFLAGS) -export-symbols-regex '^knotd_'
-libknotd_la_LIBADD   = libknot.la zscanner/libzscanner.la $(systemd_LIBS) \
+libknotd_la_LIBADD   = libknot.la libzscanner/libzscanner.la $(systemd_LIBS) \
                        $(liburcu_LIBS)
 
 ###################
@@ -411,7 +411,7 @@ knotc_LDADD     = libknotd.la libcontrib.la libknotus.la $(libedit_LIBS)
 knotc_LDFLAGS   = $(AM_LDFLAGS) -rdynamic
 keymgr_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/libdnssec $(gnutls_CFLAGS)
 keymgr_LDADD    = libknotd.la libcontrib.la libknotus.la libdnssec/libdnssec.la \
-                  libdnssec/libshared.la zscanner/libzscanner.la
+                  libdnssec/libshared.la libzscanner/libzscanner.la
 
 ####################################
 # Optional Knot DNS Daemon modules #
@@ -476,7 +476,7 @@ kdig_LDADD             = libknotus.la
 khost_CPPFLAGS         = $(AM_CPPFLAGS) $(gnutls_CFLAGS)
 khost_LDADD            = libknotus.la
 knsupdate_CPPFLAGS     = $(AM_CPPFLAGS) $(gnutls_CFLAGS)
-knsupdate_LDADD        = libknotus.la zscanner/libzscanner.la
+knsupdate_LDADD        = libknotus.la libzscanner/libzscanner.la
 knsec3hash_CPPFLAGS    = $(AM_CPPFLAGS) -I$(srcdir)/libdnssec
 knsec3hash_LDADD       = libknot.la libcontrib.la libdnssec/libdnssec.la libdnssec/libshared.la
 kzonecheck_CPPFLAGS    = $(AM_CPPFLAGS)
index 8f40557db5ef47f64d081e3e786b3240adc3e917..910789fa72c8612c51ea024ed4559860a9211fcc 100644 (file)
@@ -35,7 +35,7 @@
 #include "contrib/mempattern.h"
 #include "contrib/string.h"
 #include "contrib/ucw/lists.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 #include "contrib/strtonum.h"
 
 #define MATCH_OR_FILTER(args, code) ((args)->data[KNOT_CTL_IDX_FILTER] == NULL || \
index ef89b1dd21db0cd4a4b662cde222e0c11391d845..9b18576847a98fd0205d2450e6130377dbf33869 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "knot/zone/zone.h"
 #include "knot/zone/semantic-check.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 /*!
  * \brief Zone creator structure.
  */
similarity index 100%
rename from src/zscanner/NOTES
rename to src/libzscanner/NOTES
similarity index 99%
rename from src/zscanner/error.c
rename to src/libzscanner/error.c
index e42d8771c6976e4bb806124a74072b83521b1012..f658f5b79e78ea05fae78520ac615329bec9e3e8 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <stdlib.h>
 
-#include "zscanner/error.h"
+#include "libzscanner/error.h"
 
 typedef struct {
        int        code;
similarity index 100%
rename from src/zscanner/error.h
rename to src/libzscanner/error.h
similarity index 99%
rename from src/zscanner/functions.c
rename to src/libzscanner/functions.c
index ea4a09966465ac12f5302c80af317e1ea2c52e6e..60610763d7d2a4d1fdb961834ef494a85dae6ac0 100644 (file)
@@ -17,8 +17,8 @@
 #include <stdint.h>
 #include <stdlib.h>
 
-#include "zscanner/error.h"
-#include "zscanner/functions.h"
+#include "libzscanner/error.h"
+#include "libzscanner/functions.h"
 
 const uint8_t digit_to_num[] = {
     ['0'] = 0, ['1'] = 1, ['2'] = 2, ['3'] = 3, ['4'] = 4,
similarity index 99%
rename from src/zscanner/scanner.c.g2
rename to src/libzscanner/scanner.c.g2
index 37cfe99df88587bf27e9d4e75b84b423d2e62963..1a0b6cd5f468e39e8fb7c02949118c2cb84ff31e 100644 (file)
@@ -31,8 +31,8 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-#include "zscanner/scanner.h"
-#include "zscanner/functions.h"
+#include "libzscanner/scanner.h"
+#include "libzscanner/functions.h"
 #include "libknot/descriptor.h"
 
 /*! \brief Maximal length of rdata item. */
similarity index 99%
rename from src/zscanner/scanner.c.t0
rename to src/libzscanner/scanner.c.t0
index a1f03476d0793af97e6ba3e054f94c5f0a91db90..52af28bd481675d8eca27c2c5a8280e93c98fb29 100644 (file)
@@ -31,8 +31,8 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-#include "zscanner/scanner.h"
-#include "zscanner/functions.h"
+#include "libzscanner/scanner.h"
+#include "libzscanner/functions.h"
 #include "libknot/descriptor.h"
 
 /*! \brief Maximal length of rdata item. */
similarity index 98%
rename from src/zscanner/scanner.h
rename to src/libzscanner/scanner.h
index aa29bbdce34bd710081ddd354a56bf7758f58934..8a2589183b0aa0baab5f7557447cdcff74ca3e18 100644 (file)
@@ -28,7 +28,7 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include "zscanner/error.h"
+#include "libzscanner/error.h"
 
 /*! \brief Maximal length of rdata. */
 #define ZS_MAX_RDATA_LENGTH            65535
@@ -95,8 +95,8 @@ typedef enum {
  *  - Output variables (r_ prefix) containing all parts of zone record. These
  *    data are useful during processing via callback function.
  */
-typedef struct scanner zs_scanner_t; // Forward declaration due to arguments.
-struct scanner {
+typedef struct zs_scanner zs_scanner_t; // Forward declaration due to arguments.
+struct zs_scanner {
        /*! Current state (Ragel internals). */
        int      cs;
        /*! Stack top (Ragel internals). */
similarity index 99%
rename from src/zscanner/scanner.rl
rename to src/libzscanner/scanner.rl
index c04cb7a0bc5193b9eff41532fe390ac8bb8cf806..e996b8a460b5238bf4d1cad2fb4c4faa42411237 100644 (file)
@@ -30,8 +30,8 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-#include "zscanner/scanner.h"
-#include "zscanner/functions.h"
+#include "libzscanner/scanner.h"
+#include "libzscanner/functions.h"
 #include "libknot/descriptor.h"
 
 /*! \brief Maximal length of rdata item. */
index 34a1ba68e276a88f6d5031a7009d532305e4182a..51d5b143166bf38663b59ac685aa10ccde16e9a6 100644 (file)
@@ -30,7 +30,7 @@
 #include "libdnssec/shared/shared.h"
 #include "knot/dnssec/kasp/policy.h"
 #include "knot/dnssec/zone-keys.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 
 static bool is_timestamp(char *arg, knot_kasp_key_timing_t *timing)
 {
index 1dfb59011713ebd6857dfd1aeebee94e2880d452..63fb7fdeab7741e975fd313c4c16c3139f109376 100644 (file)
@@ -25,7 +25,7 @@
 #pragma once
 
 #include "contrib/qp-trie/trie.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 
 /*!
  * \brief Memory estimation context.
index 7f8791f76edeb00ff7acacbf7f4aeae17d3b7e9a..da8dc28649256f645cddda6255e07b2b2f5e37dc 100644 (file)
@@ -32,7 +32,7 @@
 #include "utils/common/params.h"
 #include "utils/common/sign.h"
 #include "libknot/libknot.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 #include "contrib/ucw/lists.h"
 
 /*! \brief knsupdate-specific params data. */
index ec5d5b5253939c558676e6f55a0c43f44e387e15..aca04fc6b9eb5bf560c3f0fc802c5a8f696193a8 100644 (file)
@@ -42,7 +42,7 @@ fuzz_packet_LDADD      = $(top_builddir)/src/libknot.la
 
 fuzz_zscanner_SOURCES  = fuzz_zscanner.c
 fuzz_zscanner_CPPFLAGS = $(AM_CPPFLAGS)
-fuzz_zscanner_LDADD    = $(top_builddir)/src/zscanner/libzscanner.la
+fuzz_zscanner_LDADD    = $(top_builddir)/src/libzscanner/libzscanner.la
 
 if OSS_FUZZ
 
index 4e664a37f29a3dfaa3d14d67df6173cec66f1346..cb89545812939a4bf4b4a37150c9572f00d36179 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <stdint.h>
 
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 
 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
 {
index b02bdc594c0b9876abbdd36c53966ddb72c97d27..4cd0863aa14e3ff4c936a747908222bcac62c984 100644 (file)
 /contrib/test_time
 /contrib/test_wire_ctx
 
-/libdnssec/test_binary
-/libdnssec/test_crypto
-/libdnssec/test_key
-/libdnssec/test_key_algorithm
-/libdnssec/test_key_ds
-/libdnssec/test_keyid
-/libdnssec/test_keystore_pkcs11
-/libdnssec/test_keystore_pkcs8
-/libdnssec/test_keystore_pkcs8_dir
-/libdnssec/test_keytag
-/libdnssec/test_list
-/libdnssec/test_nsec_bitmap
-/libdnssec/test_nsec_hash
-/libdnssec/test_random
-/libdnssec/test_sign
-/libdnssec/test_sign_der
-/libdnssec/test_shared_bignum
-/libdnssec/test_shared_dname
-/libdnssec/test_tsig
-
 /knot/test_acl
 /knot/test_changeset
 /knot/test_conf
 /knot/test_zone_timers
 /knot/test_zonedb
 
+/libdnssec/test_binary
+/libdnssec/test_crypto
+/libdnssec/test_key
+/libdnssec/test_key_algorithm
+/libdnssec/test_key_ds
+/libdnssec/test_keyid
+/libdnssec/test_keystore_pkcs11
+/libdnssec/test_keystore_pkcs8
+/libdnssec/test_keystore_pkcs8_dir
+/libdnssec/test_keytag
+/libdnssec/test_list
+/libdnssec/test_nsec_bitmap
+/libdnssec/test_nsec_hash
+/libdnssec/test_random
+/libdnssec/test_sign
+/libdnssec/test_sign_der
+/libdnssec/test_shared_bignum
+/libdnssec/test_shared_dname
+/libdnssec/test_tsig
+
 /libknot/test_control
 /libknot/test_cookies
 /libknot/test_db
 /libknot/test_yptrafo
 /libknot/test_wire
 
+/libzscanner/tmp
+/libzscanner/test_zscanner
+/libzscanner/zscanner-tool
+
 /modules/test_onlinesign
 /modules/test_rrl
 
 /utils/test_cert
 /utils/test_lookup
-
-/zscanner/tmp
-/zscanner/test_zscanner
-/zscanner/zscanner-tool
index a58a3023b4c221a2a5721c8356e6b064d8ec7eec..4a214c12faf74238d4346340e20eacb10da0139e 100644 (file)
@@ -15,15 +15,15 @@ LDADD = \
        $(top_builddir)/src/libknot.la \
        $(top_builddir)/src/libknotd.la \
        $(top_builddir)/src/libcontrib.la \
-       $(top_builddir)/src/zscanner/libzscanner.la
+       $(top_builddir)/src/libzscanner/libzscanner.la
 
 EXTRA_DIST = \
        libdnssec/sample_keys.h         \
        knot/semantic_check_data        \
        knot/test_semantic_check.in     \
-       zscanner/data                   \
-       zscanner/test_zscanner.in       \
-       zscanner/TESTS
+       libzscanner/data                \
+       libzscanner/test_zscanner.in    \
+       libzscanner/TESTS
 
 check_PROGRAMS = \
        contrib/test_base32hex          \
@@ -154,16 +154,16 @@ utils_test_cert_LDADD = \
        $(libedit_LIBS)
 
 EXTRA_PROGRAMS = \
-       zscanner/zscanner-tool
+       libzscanner/zscanner-tool
 
-zscanner_zscanner_tool_SOURCES =       \
-       zscanner/zscanner-tool.c        \
-       zscanner/processing.h           \
-       zscanner/processing.c
+libzscanner_zscanner_tool_SOURCES =    \
+       libzscanner/zscanner-tool.c     \
+       libzscanner/processing.h        \
+       libzscanner/processing.c
 
 check_SCRIPTS = \
        knot/test_semantic_check        \
-       zscanner/test_zscanner
+       libzscanner/test_zscanner
 
 edit = $(SED) \
        -e 's|@top_srcdir[@]|$(abs_top_srcdir)|g' \
@@ -173,7 +173,7 @@ knot/test_semantic_check:
        @$(edit) < $(top_srcdir)/tests/$@.in > $(top_builddir)/tests/$@
        @chmod +x $(top_builddir)/tests/$@
 
-zscanner/test_zscanner: zscanner/zscanner-tool
+libzscanner/test_zscanner: libzscanner/zscanner-tool
        @$(edit) < $(top_srcdir)/tests/$@.in > $(top_builddir)/tests/$@
        @chmod +x $(top_builddir)/tests/$@
 
index 65a372cf451fc844c3517bd7e69a099c6195726c..71579cf484ec675cd43efeae9466b76fedfb2454 100644 (file)
@@ -23,7 +23,7 @@
 #include "contrib/getline.h"
 #include "knot/updates/zone-update.h"
 #include "knot/zone/node.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 #include "knot/server/server.h"
 
 static const char *zone_str1 = "test. 600 IN SOA ns.test. m.test. 1 900 300 4800 900 \n";
similarity index 100%
rename from tests/zscanner/TESTS
rename to tests/libzscanner/TESTS
similarity index 97%
rename from tests/zscanner/processing.c
rename to tests/libzscanner/processing.c
index ab22616550b280ee31f6ff0a26e0e1f77b832b76..a5ddeaa3d9a032550abfbc8b06132188cb97cc40 100644 (file)
@@ -19,9 +19,9 @@
 #include <stdio.h>
 #include <time.h>
 
-#include "zscanner/scanner.h"
-#include "zscanner/functions.c"
-#include "zscanner/processing.h"
+#include "libzscanner/scanner.h"
+#include "libzscanner/functions.c"
+#include "libzscanner/processing.h"
 #include "libknot/descriptor.c"
 
 const char *separator = "------\n";
similarity index 96%
rename from tests/zscanner/processing.h
rename to tests/libzscanner/processing.h
index f3a7d196a57cd28b4781406130ba022df6551360..fe66737bade91235cba139eb9ae639f7d73c0f3a 100644 (file)
@@ -16,7 +16,7 @@
 
 #pragma once
 
-#include "zscanner/scanner.h"
+#include "libzscanner/scanner.h"
 
 void debug_process_error(zs_scanner_t *scanner);
 
similarity index 92%
rename from tests/zscanner/test_zscanner.in
rename to tests/libzscanner/test_zscanner.in
index a1443e74e306bd3dd425095d9b5c061e205a58b2..724e351d05fa1ac342994f61baa189e4271f4afa 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
-SOURCE=@top_srcdir@/tests/zscanner
-BUILD=@top_builddir@/tests/zscanner
+SOURCE=@top_srcdir@/tests/libzscanner
+BUILD=@top_builddir@/tests/libzscanner
 
 . @top_srcdir@/tests/_libtap/tap/libtap.sh
 
similarity index 98%
rename from tests/zscanner/zscanner-tool.c
rename to tests/libzscanner/zscanner-tool.c
index a8865616abe7179cc584faa37142abde5a82aab2..06b795c11dce9fab336825c8a4d900e5b745e374 100644 (file)
@@ -20,8 +20,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "zscanner/processing.h"
-#include "zscanner/scanner.h"
+#include "libzscanner/processing.h"
+#include "libzscanner/scanner.h"
 
 #define DEFAULT_MODE   1
 #define DEFAULT_CLASS  1