# comments will behave just like the Qt-style comments (thus requiring an
# explicit @brief command for a brief description.
-JAVADOC_AUTOBRIEF = NO
+JAVADOC_AUTOBRIEF = YES
# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
# treat a multi-line C++ special comment block (i.e. a block of //! or ///
# should be searched for input files as well. Possible values are YES and NO.
# If left blank NO is used.
-RECURSIVE = NO
+RECURSIVE = YES
# The EXCLUDE tag can be used to specify files and/or directories that should
# excluded from the INPUT source files. This way you can easily exclude a
/* Counter of the question section */
#define QDCOUNT_OFF 4
+/*
#define QDCOUNT(wirebuf) (ntohs(*(uint16_t *)(wirebuf+QDCOUNT_OFF)))
+*/
+#define QDCOUNT(wirebuf) (read_uint16(wirebuf+QDCOUNT_OFF))
/* Counter of the answer section */
#define ANCOUNT_OFF 6
-#define ANCOUNT(wirebuf) (ntohs(*(uint16_t *)(wirebuf+ANCOUNT_OFF)))
+#define ANCOUNT(wirebuf) (read_uint16(wirebuf+ANCOUNT_OFF))
/* Counter of the authority section */
#define NSCOUNT_OFF 8
-#define NSCOUNT(wirebuf) (ntohs(*(uint16_t *)(wirebuf+NSCOUNT_OFF)))
+#define NSCOUNT(wirebuf) (read_uint16(wirebuf+NSCOUNT_OFF))
/* Counter of the additional section */
#define ARCOUNT_OFF 10
-#define ARCOUNT(wirebuf) (ntohs(*(uint16_t *)(wirebuf+ARCOUNT_OFF)))
+#define ARCOUNT(wirebuf) (read_uint16(wirebuf+ARCOUNT_OFF))
/* Access functions
* do this as functions to get type checking
}
/**
- * remove \DDD, \[space] and other escapes from the input
+ * remove \\DDD, \\[space] and other escapes from the input
* See RFC 1035, section 5.1
* Return the length of the string or a negative error
* code