You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/04/24 19:58:10 UTC
svn commit: r1329896 - in /httpd/httpd/trunk/docs/manual/mod:
mod_dbd.html.en mod_dbd.xml
Author: humbedooh
Date: Tue Apr 24 17:58:10 2012
New Revision: 1329896
URL: http://svn.apache.org/viewvc?rev=1329896&view=rev
Log:
highlight C source code
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_dbd.html.en
httpd/httpd/trunk/docs/manual/mod/mod_dbd.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_dbd.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dbd.html.en?rev=1329896&r1=1329895&r2=1329896&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dbd.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dbd.html.en Tue Apr 24 17:58:10 2012
@@ -83,7 +83,8 @@
<p><code class="module"><a href="../mod/mod_dbd.html">mod_dbd</a></code> exports five functions for other modules
to use. The API is as follows:</p>
- <div class="example"><pre><code>typedef struct {
+<pre class="prettyprint lang-c">
+typedef struct {
apr_dbd_t *handle;
apr_dbd_driver_t *driver;
apr_hash_t *prepared;
@@ -119,7 +120,8 @@ APR_DECLARE_OPTIONAL_FN(void, ap_dbd_clo
APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_cacquire, (conn_rec*));
APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const char*));
-</code></pre></div>
+</pre>
+
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="prepared" id="prepared">SQL Prepared Statements</a></h2>
Modified: httpd/httpd/trunk/docs/manual/mod/mod_dbd.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dbd.xml?rev=1329896&r1=1329895&r2=1329896&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dbd.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dbd.xml Tue Apr 24 17:58:10 2012
@@ -59,8 +59,8 @@
<p><module>mod_dbd</module> exports five functions for other modules
to use. The API is as follows:</p>
- <example>
-<pre><code>typedef struct {
+<highlight language="c">
+typedef struct {
apr_dbd_t *handle;
apr_dbd_driver_t *driver;
apr_hash_t *prepared;
@@ -96,8 +96,7 @@ APR_DECLARE_OPTIONAL_FN(void, ap_dbd_clo
APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_cacquire, (conn_rec*));
APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const char*));
-</code></pre>
- </example>
+</highlight>
</section>
<section id="prepared"><title>SQL Prepared Statements</title>