Add useful lua functions to handle knot types
Compare changes
Files
7+ 23
− 0
@@ -3,6 +3,8 @@ local ffi = require('ffi')
@@ -163,6 +165,21 @@ struct kr_request {
@@ -203,8 +220,10 @@ struct kr_context {
@@ -229,6 +248,9 @@ int knot_pkt_begin(knot_pkt_t *, knot_section_t);
@@ -242,6 +264,7 @@ int kr_pkt_recycle(knot_pkt_t *);