From: Marek Vavrusa Date: Sat, 30 Jan 2016 15:03:15 +0000 (+0000) Subject: doc: fixed broken breathe mistaking define for func X-Git-Tag: v1.0.0-beta3^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e3adf89709a2f79e6e405f46f992a0af3f4ff68;p=thirdparty%2Fknot-resolver.git doc: fixed broken breathe mistaking define for func breathe failed to process the typedef thinking the macro expansion was a function pointer --- diff --git a/daemon/engine.h b/daemon/engine.h index d9755157b..5e8e12e95 100644 --- a/daemon/engine.h +++ b/daemon/engine.h @@ -46,8 +46,9 @@ struct storage_api { void *(*opts_create)(const char *, size_t); /**< Storage options factory */ }; -/** @internal Array of cache backend options. */ +/** @cond internal Array of cache backend options. */ typedef array_t(struct storage_api) storage_registry_t; +/* @endcond */ struct engine { struct kr_context resolver; diff --git a/daemon/network.h b/daemon/network.h index 93c80ce04..84797e8dc 100644 --- a/daemon/network.h +++ b/daemon/network.h @@ -34,7 +34,9 @@ struct endpoint { uint16_t flags; }; +/** @cond internal Array of endpoints */ typedef array_t(struct endpoint*) endpoint_array_t; +/* @endcond */ struct network { uv_loop_t *loop; diff --git a/daemon/worker.h b/daemon/worker.h index eed855d82..c598c7ba6 100644 --- a/daemon/worker.h +++ b/daemon/worker.h @@ -20,7 +20,7 @@ #include "lib/generic/array.h" #include "lib/generic/map.h" -/* @cond internal Freelist of available mempools. */ +/** @cond internal Freelist of available mempools. */ typedef array_t(void *) mp_freelist_t; /* @endcond */ diff --git a/lib/resolve.h b/lib/resolve.h index d79b58a6c..3fb4aa622 100644 --- a/lib/resolve.h +++ b/lib/resolve.h @@ -69,7 +69,7 @@ * @endcode */ -/* @cond internal Array of modules. */ +/** @cond internal Array of modules. */ typedef array_t(struct kr_module *) module_array_t; /* @endcond */ diff --git a/lib/rplan.h b/lib/rplan.h index 836dcb76c..baf4728ac 100644 --- a/lib/rplan.h +++ b/lib/rplan.h @@ -73,8 +73,9 @@ struct kr_query { struct kr_layer_pickle *deferred; }; -/** @internal Array of queries. */ +/** @cond internal Array of queries. */ typedef array_t(struct kr_query *) kr_qarray_t; +/* @endcond */ /** * Query resolution plan structure. diff --git a/lib/utils.h b/lib/utils.h index 698bd6e07..249655f3e 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -74,7 +74,7 @@ static inline long time_diff(struct timeval *begin, struct timeval *end) { return res.tv_sec * 1000 + res.tv_usec / 1000; } -/** @cond Array types */ +/** @cond internal Array types */ struct kr_context; typedef array_t(knot_rrset_t *) rr_array_t; /* @endcond */