diff --git a/CuteDNS.files b/CuteDNS.files index e631638da30479bde2a163e6a09e1b1f7b9a8deb..187ba598582f28ef89644b8ac905f59b9693d175 100644 --- a/CuteDNS.files +++ b/CuteDNS.files @@ -78,3 +78,6 @@ src/tests/dnslib/dnslib_zone_tests.c src/dnslib/rrsig.h src/dnslib/rrsig.c src/other/tree.h +src/dnslib/response.h +src/dnslib/packet.h +src/dnslib/response.c diff --git a/src/dnslib/packet.h b/src/dnslib/packet.h new file mode 100644 index 0000000000000000000000000000000000000000..2b7ec76455204030204fe378511edc4c749c9f5a --- /dev/null +++ b/src/dnslib/packet.h @@ -0,0 +1,19 @@ +/*! + * \file packet.h + * + * \author Lubos Slovak <lubos.slovak@nic.cz> + * + * \brief Functions for manipulating and parsing raw data in DNS packets. + * + * \addtogroup dnslib + * @{ + */ + +#ifndef _CUTEDNS_DNSLIB_PACKET_H_ +#define _CUTEDNS_DNSLIB_PACKET_H_ + + + +#endif /* _CUTEDNS_DNSLIB_PACKET_H_ */ + +/*! @} */ diff --git a/src/dnslib/response.c b/src/dnslib/response.c new file mode 100644 index 0000000000000000000000000000000000000000..faa2b853c6893f4ac617933b84162281bd17a891 --- /dev/null +++ b/src/dnslib/response.c @@ -0,0 +1 @@ +#include "response.h" diff --git a/src/dnslib/response.h b/src/dnslib/response.h new file mode 100644 index 0000000000000000000000000000000000000000..1751ebdbbb6f1642be3db4f27aa111f382ed2a4f --- /dev/null +++ b/src/dnslib/response.h @@ -0,0 +1,22 @@ +/*! + * \file response.h + * + * \author Lubos Slovak <lubos.slovak@nic.cz> + * + * \brief Structure for holding response data and metadata. + * + * This structure can be used to pass all data needed for response creation + * inside and between various processing functions of the application. + * + * \addtogroup dnslib + * @{ + */ + +#ifndef _CUTEDNS_DNSLIB_RESPONSE_H_ +#define _CUTEDNS_DNSLIB_RESPONSE_H_ + + + +#endif /* _CUTEDNS_DNSLIB_RESPONSE_H_ */ + +/*! @} */