diff options
author | Daniel Gruno <humbedooh@apache.org> | 2012-04-24 17:58:10 +0000 |
---|---|---|
committer | Daniel Gruno <humbedooh@apache.org> | 2012-04-24 17:58:10 +0000 |
commit | 667c0b26d857dc33a609127ac97d5d34fb7acede (patch) | |
tree | f2eb65151d81958fc029322a6eb1ffa3bfebe948 /docs | |
parent | d87d888a439422dcd7133e2b17c0d6c1445fcbc8 (diff) | |
download | httpd-667c0b26d857dc33a609127ac97d5d34fb7acede.tar.gz |
highlight C source code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/mod/mod_dbd.html.en | 6 | ||||
-rw-r--r-- | docs/manual/mod/mod_dbd.xml | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/docs/manual/mod/mod_dbd.html.en b/docs/manual/mod/mod_dbd.html.en index fe255a91a4..f5508a7fd6 100644 --- a/docs/manual/mod/mod_dbd.html.en +++ b/docs/manual/mod/mod_dbd.html.en @@ -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_close, (server_rec*, ap_dbd_t*)); 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> diff --git a/docs/manual/mod/mod_dbd.xml b/docs/manual/mod/mod_dbd.xml index 05de4a81ae..183bbd8d5d 100644 --- a/docs/manual/mod/mod_dbd.xml +++ b/docs/manual/mod/mod_dbd.xml @@ -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_close, (server_rec*, ap_dbd_t*)); 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> |