diff --git a/include/dns_message.h b/include/dns_message.h index 0222b146b50d88b0b8e5b4662621b7e11b01dc76..5c21835c0dcefc3d421c160c9f9dcae867f2363f 100644 --- a/include/dns_message.h +++ b/include/dns_message.h @@ -18,6 +18,9 @@ using namespace std; class udp_packet_wp; +/** + * Wrapper class for DNS messages. + */ class dns_message_em { public: diff --git a/include/dns_server.h b/include/dns_server.h index 7e6ab46d303f7d11d052fbada8f9bf35cd6e3c95..27140aac8dfd964fc869ff59c10c8559641b9876 100644 --- a/include/dns_server.h +++ b/include/dns_server.h @@ -12,6 +12,11 @@ #include "general_sockaddr_wp.h" #include "udp_socket_wp.h" +/** + * A DNS server object. + * Contains all the data necessary for serving DNS queries. + * It is optionally multi threaded. + */ class dns_server { private: diff --git a/include/udp_packet_wp.h b/include/udp_packet_wp.h index 8b47ea8555f27ddd530cedc77bcefb3f08a1577c..92128cb033072ef08698bd281dafc447731e9341 100644 --- a/include/udp_packet_wp.h +++ b/include/udp_packet_wp.h @@ -15,6 +15,9 @@ class dns_message_em; +/** + * Wrapper class for UDP packets, and manage their stuff. + */ class udp_packet_wp { char *buf; /** The content of the UDP packet. */