We don't need to use the knot_edns_options_t type from lua,
only there's a pointer in knot_pkt_t.
Now libknot increased this length in v3.4.4,
even without bumping SONAME, and it might happen again.
This way we avoid kres-gen-33.lua depending on this length.
struct kr_module;
typedef char *(kr_prop_cb)(void *, struct kr_module *, const char *);
typedef unsigned char knot_dname_storage_t[255];
+
+typedef struct {} knot_edns_options_t;
typedef struct knot_pkt knot_pkt_t;
-typedef struct {
- uint8_t *ptr[18];
-} knot_edns_options_t;
typedef struct {
knot_pkt_t *pkt;
uint16_t pos;
typedef unsigned char knot_dname_storage_t[255];
"
+printf "
+typedef struct {} knot_edns_options_t;
+"
+
${CDEFS} ${LIBKRES} types <<-EOF
#knot_pkt_t contains indirect recursion
typedef knot_pkt_t
- knot_edns_options_t
knot_pktsection_t
knot_compr_t
struct knot_pkt