Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 23269 invoked by uid 500); 22 Jul 2000 20:06:21 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 23251 invoked by uid 500); 22 Jul 2000 20:06:20 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 22 Jul 2000 20:06:19 -0000 Message-ID: <20000722200619.23247.qmail@locus.apache.org> From: rbb@locus.apache.org To: apache-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/src/lib/apr/include apr_dso.h rbb 00/07/22 13:06:19 Modified: src/lib/apr/include apr_dso.h Log: Convert the dso docs to the ScanDoc format. Revision Changes Path 1.17 +24 -31 apache-2.0/src/lib/apr/include/apr_dso.h Index: apr_dso.h =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_dso.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- apr_dso.h 2000/07/15 01:07:43 1.16 +++ apr_dso.h 2000/07/22 20:06:19 1.17 @@ -58,55 +58,48 @@ #include "apr_general.h" #include "apr_errno.h" +/** + * @package dso + */ + #ifdef __cplusplus extern "C" { #endif typedef struct ap_dso_handle_t ap_dso_handle_t; typedef void * ap_dso_handle_sym_t; - -/* - -=head1 ap_status_t ap_dso_load(ap_dso_handle_t **res_handle, const char *path, ap_pool_t *ctx) -B - - arg 1) Location to store new handle for the DSO. - arg 2) Path to the DSO library - arg 3) Pool to use. - -=cut +/** + * Load a DSO library. + * @param res_handle Location to store new handle for the DSO. + * @param path Path to the DSO library + * @param ctx Pool to use. + * @keyword load DSO */ ap_status_t ap_dso_load(ap_dso_handle_t **res_handle, const char *path, ap_pool_t *ctx); - -/* - -=head1 ap_status_t ap_dso_unload(ap_dso_handle_t *handle) -B - - arg 1) handle to close. - -=cut +/** + * Close a DSO library. + * @param handle handle to close. */ ap_status_t ap_dso_unload(ap_dso_handle_t *handle); - -/* - -=head1 ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym, ap_dso_handle_t *handle, const char *symname) -B - - arg 1) Location to store the loaded symbol - arg 2) handle to load from. - arg 3) Name of the symbol to load. - -=cut +/** + * Load a symbol from a DSO handle. + * @param dso Location to store the loaded symbol + * @param handle handle to load from. + * @param symname Name of the symbol to load. */ ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym, ap_dso_handle_t *handle, const char *symname); +/** + * Report more information when a DSO function fails. + * @param dso Location to store the loaded symbol + * @param buf handle to load from. + * @param bufsize Name of the symbol to load. + */ const char *ap_dso_error(ap_dso_handle_t *dso, char *buf, ap_size_t bufsize); #ifdef __cplusplus