diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2003-03-05 21:22:26 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2003-03-05 21:22:26 +0000 |
commit | 26a1251cd50b032176c0c5d9bb6626c1a2b7bb52 (patch) | |
tree | 665a1cf9958bf86499a3a742b654fe391c3a5705 /include/apr_inherit.h | |
parent | 1f3331ec7ac24dc7dbefd1ffcd179c7a5f1fbfc0 (diff) | |
download | apr-26a1251cd50b032176c0c5d9bb6626c1a2b7bb52.tar.gz |
Rebalance our exposed headers such that everything is nested properly
between extern "C" blocks and doxygen blocks, that we never include
other headers within our own header's extern "C" block, that we always
tag the entire file contents for doxygen (within the APR_HEADER_H
only-once block), and generally clean up doxygen so that it is all
consistent and generates respectable (although not yet 'great') results.
Major TODO after 0.9.2 releases; fill in the apr.h APR_HAVE/APR_HAS
and apr_type_t documentation!!!
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_inherit.h')
-rw-r--r-- | include/apr_inherit.h | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/include/apr_inherit.h b/include/apr_inherit.h index 091628361..41b683633 100644 --- a/include/apr_inherit.h +++ b/include/apr_inherit.h @@ -54,40 +54,36 @@ #ifndef APR_INHERIT_H #define APR_INHERIT_H + /** - * @file apr_inherit.h - * @brief APR File Handle Inheritance - */ -/** - * @defgroup APR_File_Inheritance Inheritance Of File/Sockets - * @ingroup APR_File_Handle - * Sets/Unsets inheritance for File descriptor inheritance in children - * processes. - * - * @{ + * @file apr_inherit.h + * @brief APR File Handle Inheritance Helpers + * @remark This internal header includes internal declaration helpers + * for other headers to declare apr_foo_inherit_[un]set functions. */ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - /** - * @param name Set Inheritance for this Socket/File Handle + * Prototype for type-specific declarations of apr_foo_inherit_set + * functions. + * @remark Doxygen unwraps this macro (via doxygen.conf) to provide + * actual help for each specific occurance of apr_foo_inherit_set. + * @remark the linkage is specified for APR. It would be possible to expand + * the macros to support other linkages. */ -#define APR_DECLARE_INHERIT_SET(name) \ - APR_DECLARE(apr_status_t) apr_##name##_inherit_set( \ - apr_##name##_t *the##name) +#define APR_DECLARE_INHERIT_SET(type) \ + APR_DECLARE(apr_status_t) apr_##type##_inherit_set( \ + apr_##type##_t *the##type) /** - * @param name Unset Inheritance for this Socket/File Handle + * Prototype for type-specific declarations of apr_foo_inherit_unset + * functions. + * @remark Doxygen unwraps this macro (via doxygen.conf) to provide + * actual help for each specific occurance of apr_foo_inherit_unset. + * @remark the linkage is specified for APR. It would be possible to expand + * the macros to support other linkages. */ -#define APR_DECLARE_INHERIT_UNSET(name) \ - APR_DECLARE(apr_status_t) apr_##name##_inherit_unset( \ - apr_##name##_t *the##name) - -#ifdef __cplusplus -} -#endif -/** @} */ +#define APR_DECLARE_INHERIT_UNSET(type) \ + APR_DECLARE(apr_status_t) apr_##type##_inherit_unset( \ + apr_##type##_t *the##type) #endif /* ! APR_INHERIT_H */ |