summaryrefslogtreecommitdiff
path: root/include/private
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2006-06-22 16:56:57 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2006-06-22 16:56:57 +0000
commit2c5ff2cca7b16a6f2b5b5a1e75551ec936ee1b51 (patch)
treea770c1b5089dc086608d25170b0c44ea53481d14 /include/private
parent4a893010e414812a301c54f824c7483a428cb446 (diff)
downloadlibapr-util-2c5ff2cca7b16a6f2b5b5a1e75551ec936ee1b51.tar.gz
- add apr_ssl_library_name()
Do we also want to return a constant so that apps can easier apply per-library logic if they wish? Might be overkill, might not but probably fits with the aiims of making this as useful as possible. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416420 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/private')
-rw-r--r--include/private/apr_ssl_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/private/apr_ssl_private.h b/include/private/apr_ssl_private.h
index de162353..2a53adee 100644
--- a/include/private/apr_ssl_private.h
+++ b/include/private/apr_ssl_private.h
@@ -66,6 +66,13 @@ apr_status_t apu_ssl_socket_recv(apr_ssl_socket_t *, char *, apr_size_t *);
apr_status_t apu_ssl_accept(apr_ssl_socket_t *, apr_ssl_socket_t *, apr_pool_t *);
apr_status_t apu_ssl_raw_error(apr_ssl_socket_t *);
+/**
+ * Descriptive name for the library we are using for SSL
+ */
+#ifdef APU_HAVE_OPENSSL
+#define APU_SSL_LIBRARY "openssl"
+#endif
+
#ifdef __cplusplus
}
#endif