summaryrefslogtreecommitdiff
path: root/include/apr_dso.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-07-22 20:06:19 +0000
committerRyan Bloom <rbb@apache.org>2000-07-22 20:06:19 +0000
commit40b1b6d1c5c8fa3b531e580878273405b3406f61 (patch)
tree6fce6aab7383c8834b8a492ec15bb42c246138fe /include/apr_dso.h
parenta9b05965aa6c6b3500e69322bedf7f19112346ed (diff)
downloadapr-40b1b6d1c5c8fa3b531e580878273405b3406f61.tar.gz
Convert the dso docs to the ScanDoc format.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_dso.h')
-rw-r--r--include/apr_dso.h55
1 files changed, 24 insertions, 31 deletions
diff --git a/include/apr_dso.h b/include/apr_dso.h
index 562f9479f..c55179d38 100644
--- a/include/apr_dso.h
+++ b/include/apr_dso.h
@@ -58,6 +58,10 @@
#include "apr_general.h"
#include "apr_errno.h"
+/**
+ * @package dso
+ */
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -65,48 +69,37 @@ extern "C" {
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<Load a DSO library.>
-
- 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<Close a DSO library.>
-
- 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<Load a symbol from a DSO handle.>
-
- 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