trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrew...@apache.org
Subject svn commit: r831152 [34/37] - in /incubator/trafficserver/site/trunk/docs: ./ admin/ admin/images/ sdk/ sdk/css/ sdk/images/ sdk/images/docbook/ sdk/js/
Date Thu, 29 Oct 2009 23:23:36 GMT
Added: incubator/trafficserver/site/trunk/docs/sdk/VIOs_IO.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/VIOs_IO.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/VIOs_IO.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/VIOs_IO.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,95 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>VIOs</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="prev" href="Transformations_IO.html" title="Transformations">
+<link rel="next" href="IOBuffers_IO.html" title="IO Buffers">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="Transformations_IO.html">Prev</a> — Transformations</div>
+<div class="navnext">IO Buffers — <a accesskey="n" href="IOBuffers_IO.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="VIOs_IO"></a>VIOs</h2></div></div></div>
+<p>A VIO or virtual IO is a description of an in progress IO
+      operation. The VIO data structure is used by vconnection users to
+      determine how much progress has been made on a particular IO operation
+      and to re-enable an IO operation when it stalls due to buffer space.
+      VIOs are used by vconnection implementors to determine the buffer for an
+      IO operation, to determine how much work to do on the IO operation and
+      to determine which continuation to call back when progress on the IO
+      operation is made.</p>
+<p>The <code class="function">INKVIO</code> data structure itself is opaque,
+      but it might have been defined as follows:</p>
+<pre class="programlisting">typedef struct {
+    INKCont continuation;
+    INKVConn vconnection;
+    INKIOBufferReader reader;
+    INKMutex mutex;
+    int nbytes;
+    int ndone;
+} *INKVIO;</pre>
+<p>The functions below simply access and modify various parts of the
+      data structure.</p>
+<div class="itemizedlist"><ul type="disc">
+<li><p><code class="function">INKVIOBufferGet</code></p></li>
+<li><p><code class="function">INKVIOVConnGet</code></p></li>
+<li><p><code class="function">INKVIOContGet</code></p></li>
+<li><p><code class="function">INKVIOMutexGet</code></p></li>
+<li><p><code class="function">INKVIONBytesGet</code></p></li>
+<li><p><code class="function">INKVIONBytesSet</code></p></li>
+<li><p><code class="function">INKVIONDoneGet</code></p></li>
+<li><p><code class="function">INKVIONDoneSet</code></p></li>
+<li><p><code class="function">INKVIONTodoGet</code></p></li>
+<li><p><code class="function">INKVIOReaderGet</code></p></li>
+<li><p><code class="function">INKVIOReenable</code></p></li>
+</ul></div>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/VIOs_IO.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/VconnectionFunctions.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/VconnectionFunctions.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/VconnectionFunctions.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/VconnectionFunctions.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,106 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Vconnection Functions</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="prev" href="INKHostLookupResultIPGet.html" title="INKHostLookupResultIPGet">
+<link rel="next" href="INKVConnClose.html" title="INKVConnClose">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<link rel="subsection" href="VconnectionFunctions.html#INKVConnAbort" title="INKVConnAbort">
+<link rel="subsection" href="INKVConnClose.html" title="INKVConnClose">
+<link rel="subsection" href="INKVConnClosedGet.html" title="INKVConnClosedGet">
+<link rel="subsection" href="INKVConnRead.html" title="INKVConnRead">
+<link rel="subsection" href="INKVConnReadVIOGet.html" title="INKVConnReadVIOGet">
+<link rel="subsection" href="INKVConnShutdown.html" title="INKVConnShutdown">
+<link rel="subsection" href="INKVConnWrite.html" title="INKVConnWrite">
+<link rel="subsection" href="INKVConnWriteVIOGet.html" title="INKVConnWriteVIOGet">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="INKHostLookupResultIPGet.html">Prev</a> — INKHostLookupResultIPGet</div>
+<div class="navnext">INKVConnClose — <a accesskey="n" href="INKVConnClose.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="VconnectionFunctions"></a>Vconnection Functions</h2></div></div></div>
+<p></p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="INKVConnAbort"></a>INKVConnAbort</h3></div></div></div>
+<p>Closes a vconnection and specifies that the operations it was
+        performing were aborted.</p>
+<div class="variablelist"><dl>
+<dt><span class="term">Prototype</span></dt>
+<dd><p><code class="code">INKReturnCode INKVConnAbort (INKVConn
+              <em class="replaceable"><code>connp</code></em>, int
+              <em class="replaceable"><code>error</code></em>)</code></p></dd>
+<dt><span class="term">Description</span></dt>
+<dd><p>Closes the vconnection
+              <code class="code"><em class="replaceable"><code>connp</code></em></code> and specifies that
+              the operations it was performing were aborted. The vconnection
+              will be de-allocated at some point in the near future after
+              having <code class="function">INKVConnAbort</code> called upon it. After
+              calling <code class="function">INKVConnClose</code>, a user will not
+              receive any more events from
+              <code class="code"><em class="replaceable"><code>connp</code></em></code>. For most
+              vconnections, <code class="function">INKVConnClose</code> and
+              <code class="function">INKVConnAbort</code> perform identical operations.
+              A potential difference is that when a vconnection is aborted the
+              vconnection implementor can decide to do something special. For
+              instance, a vconnection writing a file to disk might decide to
+              delete the file.</p></dd>
+<dt><span class="term">Returns</span></dt>
+<dd>
+<p><code class="code">INK_SUCCESS</code> if the connection is successfully
+              aborted.</p>
+<p><code class="code">INK_ERROR</code> if an error occurs.</p>
+</dd>
+<dt><span class="term">First release</span></dt>
+<dd><p>Traffic Server 3.0</p></dd>
+</dl></div>
+</div>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/VconnectionFunctions.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ViewStatsUsingTrafLine.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ViewStatsUsingTrafLine.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ViewStatsUsingTrafLine.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ViewStatsUsingTrafLine.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,75 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Viewing Statistics Using Traffic Line</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="prev" href="CoupledStatistics.html" title="Coupled Statistics">
+<link rel="next" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="CoupledStatistics.html">Prev</a> — Coupled Statistics</div>
+<div class="navnext">Chapter 18. Function Reference — <a accesskey="n" href="FunctionReference.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="ViewStatsUsingTrafLine"></a>Viewing Statistics Using Traffic Line<a class="indexterm" name="id391657"></a><a class="indexterm" name="id391665"></a></h2></div></div></div>
+<p>To view your plugin’s statistics, follow these steps:</p>
+<div class="orderedlist"><ol type="1">
+<li><p>Make sure you know the name of your statistic (the name used
+          in the <code class="code">INKStatCoupledGlobalAdd</code>,
+          <code class="code">INKStatCreate</code>, or
+          <code class="code">INKStatCoupledGlobalCategoryCreate</code> call).</p></li>
+<li>
+<p>In your <code class="varname">&lt;Traffic
+          Server&gt;</code><code class="filename">/bin</code> directory, enter the
+          following:</p>
+<pre class="programlisting">./traffic_line -r <code class="varname">the_name</code></pre>
+</li>
+</ol></div>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ViewStatsUsingTrafLine.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/WorkWHTTPHeaderFunc.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/WorkWHTTPHeaderFunc.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/WorkWHTTPHeaderFunc.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/WorkWHTTPHeaderFunc.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,103 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Working with HTTP Header Functions</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="BlacklistPlugin.html" title="The Blacklist Plugin">
+<link rel="prev" href="SettingUpTransacHook.html" title="Setting Up a Transaction Hook">
+<link rel="next" href="BasicAuthorizatonPlugin.html" title="The Basic Authorization Plugin">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="SettingUpTransacHook.html">Prev</a> — Setting Up a Transaction Hook</div>
+<div class="navnext">The Basic Authorization Plugin — <a accesskey="n" href="BasicAuthorizatonPlugin.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="WorkWHTTPHeaderFunc"></a>Working with HTTP Header Functions</h3></div></div></div>
+<p>The Blacklist plugin examines the host header in every client
+        transaction. This is done in the handle_dns routine, using
+        <code class="code">INKHttpTxnClientIPGet</code>, <code class="code">INKHttpHdrUrlGet</code>, and
+        <code class="code">INKUrlHostGet</code>.</p>
+<pre class="programlisting">INKUrlHostGet.
+static void
+handle_dns (INKHttpTxn txnp, INKCont contp)
+{
+     INKMBuffer bufp;
+     INKMLoc hdr_loc;
+     INKMLoc url_loc;
+     const char *host;
+     int i;
+
+     if (!INKHttpTxnClientIPGet (txnp, &amp;bufp, &amp;hdr_loc)) {
+          INKError ("couldn't retrieve client request header\n");
+          goto done;
+     }
+
+     url_loc = INKHttpHdrUrlGet (bufp, hdr_loc);
+
+     if (!url_loc) {
+          INKError ("couldn't retrieve request url\n");
+          INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+          goto done;
+     }
+
+     host = INKUrlHostGet (bufp, url_loc, NULL);
+     if (!host) {
+          INKError ("couldn't retrieve request hostname\n");
+          INKHandleMLocRelease (bufp, hdr_loc, url_loc);
+          INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+          goto done;
+     }</pre>
+<p>To access the host header, the plugin first has to get the
+        client request, then retrieve the URL portion, and then obtain the
+        host header. See <a href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">Chapter 10, <i>HTTP Headers</i></a> for more information
+        about these calls.</p>
+<p>See <a href="RlsMarshalBufHandles.html" title="Release Marshal Buffer Handles">“Release Marshal Buffer Handles”</a> for guidelines on
+        using <code class="code">INKHandleMLocRelease</code> and
+        <code class="code">INKHandleStringRelease</code>.</p>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/WorkWHTTPHeaderFunc.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/WorkWithHTTPHeaders.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/WorkWithHTTPHeaders.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/WorkWithHTTPHeaders.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/WorkWithHTTPHeaders.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,139 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Working With HTTP Headers</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="BasicAuthorizatonPlugin.html" title="The Basic Authorization Plugin">
+<link rel="prev" href="ImplementHandler_GetTransHandle.html" title="Implementing the Handler and Getting a Handle to the
+        Transaction">
+<link rel="next" href="SetTransactionHook.html" title="Setting a Transaction Hook">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ImplementHandler_GetTransHandle.html">Prev</a> — Implementing the Handler and Getting a Handle to the
+        Transaction</div>
+<div class="navnext">Setting a Transaction Hook — <a accesskey="n" href="SetTransactionHook.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="WorkWithHTTPHeaders"></a>Working With HTTP Headers</h3></div></div></div>
+<p>The plugin checks all client request headers for the
+        Proxy-Authorization MIME field, which should contain the user name and
+        password.</p>
+<p>The plugin’s continuation handler, <code class="code">auth-plugin</code>,
+        calls <code class="code">handle_dns</code> to check the
+        <code class="code">Proxy-Authorization</code> field.</p>
+<p>The handle_dns routine uses <code class="code">INKHttpTxnClientReqGet</code>
+        and <code class="code">INKMimeHdrFieldFind</code> to obtain the
+        <code class="code">Proxy-Authorization</code> field:</p>
+<pre class="programlisting">{
+     INKMBuffer bufp;
+     INKMLoc hdr_loc;
+     INKMLoc field_loc;
+     const char *val;
+     char *user, *password;
+
+     if (!INKHttpTxnClientReqGet (txnp, &amp;bufp, &amp;hdr_loc)) {
+          INKError ("couldn't retrieve client request header\n");
+          goto done;
+     }
+
+     field_loc = INKMimeHdrFieldFind (bufp, hdr_loc,
+          INK_MIME_FIELD_PROXY_AUTHORIZATION);</pre>
+<p>If the <code class="code">Proxy-Authorization</code> field is present, the
+        plugin checks that the authentication type is “Basic”, and the user
+        name and password are present and valid:</p>
+<pre class="programlisting">val = INKMimeHdrFieldValueStringGet (bufp, hdr_loc, field_loc, 0, &amp;authval_length);
+if (!val) {
+     INKError ("no value in Proxy-Authorization field\n");
+     INKHandleMLocRelease (bufp, hdr_loc, field_loc);
+     INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+     goto done;
+     }
+
+     if (strncmp (val, "Basic", 5) != 0) {
+          INKError ("no Basic auth type in Proxy-Authorization\n");
+          INKHandleStringRelease (bufp, field_loc, val);
+          INKHandleMLocRelease (bufp, hdr_loc, field_loc);
+          INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+          goto done;
+     }
+
+     val += 5;
+     while ((*val == ' ') || (*val == '\t')) {
+          val += 1;
+     }
+
+     user = base64_decode (val);
+     password = strchr (user, ':');
+     if (!password) {
+          INKError ("no password in authorization information\n");
+          INKfree (user);
+          INKHandleStringRelease (bufp, field_loc, val);
+          INKHandleMLocRelease (bufp, hdr_loc, field_loc);
+          INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+          goto done;
+     }
+     *password = '\0';
+     password += 1;
+
+     if (!authorized (user, password)) {
+          INKError ("%s:%s not authorized\n", user, password);
+          INKfree (user);
+          INKHandleStringRelease (bufp, field_loc, val);
+          INKHandleMLocRelease (bufp, hdr_loc, field_loc);
+          INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+          goto done;
+     }
+
+     INKfree (user);
+     INKHandleStringRelease (bufp, field_loc, val);
+     INKHandleMLocRelease (bufp, hdr_loc, field_loc);
+     INKHandleMLocRelease (bufp, INK_NULL_MLOC, hdr_loc);
+     INKHttpTxnReenable (txnp, INK_EVENT_HTTP_CONTINUE);
+     return;</pre>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/WorkWithHTTPHeaders.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/WritingHandlerFunctions.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/WritingHandlerFunctions.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/WritingHandlerFunctions.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/WritingHandlerFunctions.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,336 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Writing Handler Functions</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="prev" href="ActivateContinuations.html" title="How to Activate Continuations">
+<link rel="next" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ActivateContinuations.html">Prev</a> — How to Activate Continuations</div>
+<div class="navnext">Chapter 13. Plugin Configurations — <a accesskey="n" href="PluginConfigurations.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="WritingHandlerFunctions"></a>Writing Handler Functions</h2></div></div></div>
+<p>The handler function is the meat of the continuation. It is
+      supposed to examine the event and event data and do something
+      appropriate. The probable action might be to schedule another event for
+      the continuation to received, or to open up a connection to a server or
+      to destroy itself.</p>
+<p>The continuation’s handler function is a function of type
+      <code class="function">INKEventFunc</code>. Its arguments are a continuation, an
+      event, and a pointer to some data (this data is passed to the
+      continuation by the caller; do not confuse this data with the
+      continuation’s own data, associated by
+      <code class="function">INKContDataSet</code>). When the continuation is called
+      back, the continuation and an event are passed to the handler function.
+      The continuation is a handle to the same continuation that is invoked.
+      The handler function typically has a switch statement to handle the
+      events it receives:</p>
+<pre class="programlisting">static int some_handler (INKcont contp, INKEvent event, void *edata)
+{
+    .....
+   switch(event) {
+       case INK_EVENT_SOME_EVENT_1:
+          do_some_thing_1;
+          return;
+      case INK_EVENT_SOME_EVENT_2:
+         do_some_thing_2;
+         return;
+     case INK_EVENT_SOME_EVENT_3:
+         do_some_thing_3;
+         return;
+     default: break;
+     }
+   return 0;
+}</pre>
+<div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Caution">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="images/docbook/caution.png"></td>
+<th align="left">Caution</th>
+</tr>
+<tr><td align="left" valign="top"><p>You might notice that a continuation cannot determine if more
+        events are “in flight” towards it. Do not use
+        <code class="function">INKContDestroy</code> to delete a continuation before
+        making sure that all incoming events, such as those sent because of
+        <code class="function">INKHttpTxnHookAdd</code>, have been handled.</p></td></tr>
+</table></div>
+<p>The following table lists events and the corresponding type of
+      void * data passed to handler functions:</p>
+<div class="informaltable"><table border="1">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<tbody>
+<tr>
+<td align="center"><span class="bold"><strong>Event</strong></span></td>
+<td align="center"><span class="bold"><strong>Hook or API function
+              that sends the event</strong></span></td>
+<td align="center"><span class="bold"><strong>void * data
+              type</strong></span></td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_READ_REQUEST_HDR</td>
+<td>INK_HTTP_READ_REQUEST_HDR_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_OS_DNS</td>
+<td>INK_HTTP_OS_DNS_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_SEND_REQUEST_HDR</td>
+<td>INK_HTTP_SEND_REQUEST_HDR_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_READ_CACHE_HDR</td>
+<td>INK_HTTP_READ_CACHE_HDR_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_READ_RESPONSE_HDR</td>
+<td>INK_HTTP_READ_RESPONSE_HDR_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_SEND_RESPONSE_HDR</td>
+<td>INK_HTTP_SEND_RESPONSE_HDR_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_SELECT_ALT</td>
+<td>INK_HTTP_SELECT_ALT_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_TXN_START</td>
+<td>INK_HTTP_TXN_START_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_TXN_CLOSE</td>
+<td>INK_HTTP_TXN_CLOSE_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_SSN_START</td>
+<td>INK_HTTP_SSN_START_HOOK</td>
+<td>INKHttpSsn</td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_SSN_CLOSE</td>
+<td>INK_HTTP_SSN_CLOSE_HOOK</td>
+<td>INKHttpSsn</td>
+</tr>
+<tr>
+<td> </td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_NONE</td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_LOOKUP_COMPLETE</td>
+<td>INK_HTTP_CACHE_LOOKUP_COMPLETE_HOOK</td>
+<td>INKHttpTxn</td>
+</tr>
+<tr>
+<td>INK_EVENT_IMMEDIATE</td>
+<td>INKVConnClose, INKVIOReenable, INKContSchedule</td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_IMMEDIATE</td>
+<td>INK_HTTP_REQUEST_TRANSFORM_HOOK</td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_IMMEDIATE</td>
+<td>INK_HTTP_RESPONSE_TRANSFORM_HOOK</td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_OPEN_READ</td>
+<td>INKCacheRead</td>
+<td>Cache VC</td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_OPEN_READ_FAILED</td>
+<td>INKCacheRead</td>
+<td>Error code, see INK_CACHE_ERROR_XXX</td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_OPEN_WRITE</td>
+<td>INKCacheWrite</td>
+<td>Cache VC</td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_OPEN_WRITE_FAILED</td>
+<td>INKCacheWrite</td>
+<td>Error code, see INK_CACHE_ERROR_XXX</td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_REMOVE</td>
+<td>INKCacheRemove</td>
+<td>Nothing</td>
+</tr>
+<tr>
+<td>INK_EVENT_CACHE_REMOVE_FAILED</td>
+<td>INKCacheRemove</td>
+<td>Error code, see INK_CACHE_ERROR_XXX</td>
+</tr>
+<tr>
+<td>INK_EVENT_NET_ACCEPT</td>
+<td>INKNetAccept, INKHttpTxnServerIntercept,
+              INKHttpTxnIntercept</td>
+<td>Net VConnection</td>
+</tr>
+<tr>
+<td>INK_EVENT_NET_ACCEPT_FAILED</td>
+<td>INKNetAccept, INKHttpTxnServerIntercept,
+              INKHttpTxnIntercept</td>
+<td>Nothing</td>
+</tr>
+<tr>
+<td>INK_EVENT_HOST_LOOKUP</td>
+<td>INKHostLookup</td>
+<td>Null pointer - error Non null pointer -
+              INKHostLookupResult</td>
+</tr>
+<tr>
+<td>INK_EVENT_TIMEOUT</td>
+<td>INKContSchedule</td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_ERROR</td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td> </td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_VCONN_READ_READY</td>
+<td>INKVConnRead</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td>INK_EVENT_VCONN_WRITE_READY</td>
+<td>INKVConnWrite</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td>INK_EVENT_VCONN_READ_COMPLETE</td>
+<td>INKVConnRead</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td>INK_EVENT_VCONN_WRITE_COMPLETE</td>
+<td>INKVConnWrite</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td>INK_EVENT_VCONN_EOS</td>
+<td>INKVConnRead</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td>INK_EVENT_NET_CONNECT</td>
+<td>INKNetConnect</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td>INK_EVENT_NET_CONNECT_FAILED</td>
+<td>INKNetConnect</td>
+<td>INKVConn</td>
+</tr>
+<tr>
+<td> </td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_CONTINUE</td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_HTTP_ERROR</td>
+<td> </td>
+<td> </td>
+</tr>
+<tr>
+<td>INK_EVENT_MGMT_UPDATE</td>
+<td>INKMgmtUpdateRegister</td>
+<td>NULL</td>
+</tr>
+</tbody>
+</table></div>
+<p>The continuation functions are:</p>
+<div class="itemizedlist"><ul type="disc">
+<li><p><code class="function">INKContCall</code></p></li>
+<li><p><code class="function">INKContCreate</code></p></li>
+<li><p><code class="function">INKContDataGet</code></p></li>
+<li><p><code class="function">INKContDataSet</code></p></li>
+<li><p><code class="function">INKContDestroy</code></p></li>
+<li><p><code class="function">INKContMutexGet</code></p></li>
+<li><p><code class="function">INKContSchedule</code></p></li>
+</ul></div>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/WritingHandlerFunctions.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch03.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch03.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch03.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch03.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,92 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Chapter 3. Remap Plugin</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="prev" href="Roadmap_CreatingPlugins.html" title="Roadmap for Creating Plugins">
+<link rel="next" href="ch03s02.html" title="Remap.API.h">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<link rel="section" href="ch03.html#id372652" title="Why Use a Remap Plugin?">
+<link rel="section" href="ch03s02.html" title="Remap.API.h">
+<link rel="section" href="ch03s03.html" title="Functions You Need to Implement">
+<link rel="section" href="ch03s04.html" title="Examples">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="Roadmap_CreatingPlugins.html">Prev</a> — Roadmap for Creating Plugins</div>
+<div class="navnext">Remap.API.h — <a accesskey="n" href="ch03s02.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="chapter" lang="en">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="id372633"></a>Chapter 3. Remap Plugin</h2></div></div></div>
+<div class="toc">
+<p><b>Table of Contents</b></p>
+<dl>
+<dt><span class="section"><a href="ch03.html#id372652">Why Use a Remap Plugin?</a></span></dt>
+<dt><span class="section"><a href="ch03s02.html">Remap.API.h</a></span></dt>
+<dt><span class="section"><a href="ch03s03.html">Functions You Need to Implement</a></span></dt>
+<dt><span class="section"><a href="ch03s04.html">Examples</a></span></dt>
+</dl>
+</div>
+<p>The remap plugin provides a more flexible, dynamic way of specifying
+    remap rules. It is not built on top of the <code class="code">INK_</code> APIs, and
+    exists solely for the purpose of URL remapping. The remap plugin is not
+    global --it is configured per remap rule, which enables you to customize
+    how URLs are redirected based on individual rules in the
+    <code class="filename">remap.config</code> file.</p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id372652"></a>Why Use a Remap Plugin?</h2></div></div></div>
+<p>As described in section XXX, Traffic Server uses the rules
+      contained in <code class="filename">remap.config</code> to redirect URLs. When
+      you write and/or use a remap plugin, you modify those static rules by
+      attaching a piece of code to each rule. For example,</p>
+<p>Two commonly-used remap plugins are available for immediate use:
+      yts.regex_remap (for generic, regular expression remaps) and
+      yts.cookie.remap (which remaps based on cookies instead of URL).</p>
+</div>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch03.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch03s02.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch03s02.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch03s02.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch03s02.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,68 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Remap.API.h</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="prev" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="next" href="ch03s03.html" title="Functions You Need to Implement">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ch03.html">Prev</a> — Chapter 3. Remap Plugin</div>
+<div class="navnext">Functions You Need to Implement — <a accesskey="n" href="ch03s03.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id372670"></a>Remap.API.h</h2></div></div></div>
+<p>The <code class="filename">RemapAPI.h</code> include file is
+      ...........</p>
+<p>text</p>
+<p>Explain the APIs --&gt; how plugin gets data from the request
+      --&gt; how plugin rewrites/modifies the request</p>
+<p>text</p>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch03s02.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch03s03.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch03s03.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch03s03.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch03s03.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,76 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Functions You Need to Implement</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="prev" href="ch03s02.html" title="Remap.API.h">
+<link rel="next" href="ch03s04.html" title="Examples">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ch03s02.html">Prev</a> — Remap.API.h</div>
+<div class="navnext">Examples — <a accesskey="n" href="ch03s04.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id372696"></a>Functions You Need to Implement</h2></div></div></div>
+<p>In order to use a remap plugin, you must implement the functions
+      below:</p>
+<div class="itemizedlist"><ul type="disc">
+<li><p>Initialization function: called only once, when the plugin is
+          loaded <a href="GetingStarted.html#PluginInitialization" title="Plugin Initialization">“Plugin Initialization”</a></p></li>
+<li><p>Instantiation function: called each time it's used in a remap
+          rule (this function is what processes the pparam values)</p></li>
+<li><p>"Processing" function: the entry point used by Traffic Server
+          to find the new URL to which it remaps; called every time a request
+          comes in</p></li>
+<li><p>(Destruction function?): (optional) a "cleanup" function
+          called only if/when the plugin is unloaded</p></li>
+</ul></div>
+<p>text</p>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch03s03.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch03s04.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch03s04.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch03s04.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch03s04.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,63 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Examples</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="prev" href="ch03s03.html" title="Functions You Need to Implement">
+<link rel="next" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ch03s03.html">Prev</a> — Functions You Need to Implement</div>
+<div class="navnext">Chapter 4. Header-Based Plugin Examples — <a accesskey="n" href="HeaderBasedPluginEx.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id372809"></a>Examples</h2></div></div></div>
+<p>more text</p>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch03s04.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch07.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch07.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch07.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch07.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,87 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Chapter 7. Cache Plugin</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="prev" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="next" href="ch07s02.html" title="Reads and Writes">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<link rel="section" href="ch07.html#id378027" title="Getting Started">
+<link rel="section" href="ch07s02.html" title="Reads and Writes">
+<link rel="section" href="ch07s03.html" title="State Diagram">
+<link rel="section" href="ch07s04.html" title="Sample Plugin">
+<link rel="section" href="ch07s05.html" title="Cache Events">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="NewProtocolPlugins.html">Prev</a> — Chapter 6. New Protocol Plugins</div>
+<div class="navnext">Reads and Writes — <a accesskey="n" href="ch07s02.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="chapter" lang="en">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="id378017"></a>Chapter 7. Cache Plugin</h2></div></div></div>
+<div class="toc">
+<p><b>Table of Contents</b></p>
+<dl>
+<dt><span class="section"><a href="ch07.html#id378027">Getting Started</a></span></dt>
+<dt><span class="section"><a href="ch07s02.html">Reads and Writes</a></span></dt>
+<dt><span class="section"><a href="ch07s03.html">State Diagram</a></span></dt>
+<dt><span class="section"><a href="ch07s04.html">Sample Plugin</a></span></dt>
+<dt><span class="section"><a href="ch07s05.html">Cache Events</a></span></dt>
+</dl>
+</div>
+<p>The Traffic Server cache plugin replaces the cache engine and the
+    underlying storage of Traffic Server's built-in cache. Writing your own
+    plugin enables you to control the storage mechanisms (ie, memory, disk,
+    network storage) as well as the cache replacement policy (ie, LRU,
+    LFU).</p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id378027"></a>Getting Started</h2></div></div></div>
+<p>text</p>
+</div>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch07.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch07s02.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch07s02.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch07s02.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch07s02.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,63 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Reads and Writes</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="prev" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="next" href="ch07s03.html" title="State Diagram">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ch07.html">Prev</a> — Chapter 7. Cache Plugin</div>
+<div class="navnext">State Diagram — <a accesskey="n" href="ch07s03.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id378037"></a>Reads and Writes</h2></div></div></div>
+<p>text</p>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch07s02.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/trafficserver/site/trunk/docs/sdk/ch07s03.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/sdk/ch07s03.html?rev=831152&view=auto
==============================================================================
--- incubator/trafficserver/site/trunk/docs/sdk/ch07s03.html (added)
+++ incubator/trafficserver/site/trunk/docs/sdk/ch07s03.html Thu Oct 29 23:23:25 2009
@@ -0,0 +1,63 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>State Diagram</title>
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/reset/reset-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" type="text/css">
+<link rel="stylesheet" href="http://yui.yahooapis.com/2.2.2/build/treeview/assets/tree.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc.css" type="text/css">
+<link rel="stylesheet" href="css/ydoc-chunk.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
+<link rel="start" href="index.html" title="Traffic Server Software Developers Kit">
+<link rel="up" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="prev" href="ch07s02.html" title="Reads and Writes">
+<link rel="next" href="ch07s04.html" title="Sample Plugin">
+<link rel="preface" href="Preface.html" title="Preface">
+<link rel="chapter" href="GetingStarted.html" title="Chapter 1. Getting Started">
+<link rel="chapter" href="CreatingTSPlugins.html" title="Chapter 2. How to Create Traffic Server Plugins">
+<link rel="index" href="CreatingTSPlugins.html#id372630" title="Index">
+<link rel="chapter" href="ch03.html" title="Chapter 3. Remap Plugin">
+<link rel="chapter" href="HeaderBasedPluginEx.html" title="Chapter 4. Header-Based Plugin Examples">
+<link rel="chapter" href="HTTPTransformationPlugins.html" title="Chapter 5. HTTP Transformation Plugins">
+<link rel="chapter" href="NewProtocolPlugins.html" title="Chapter 6. New Protocol Plugins">
+<link rel="chapter" href="ch07.html" title="Chapter 7. Cache Plugin">
+<link rel="chapter" href="HTTPHooksAndTransactions.html" title="Chapter 8. HTTP Hooks and Transactions">
+<link rel="chapter" href="MiscellaneousInterfaceGuide.html" title="Chapter 9. Miscellaneous Interface Guide">
+<link rel="chapter" href="HTTPHeaders.html" title="Chapter 10. HTTP Headers">
+<link rel="chapter" href="MutexGuide.html" title="Chapter 11. Mutex Guide">
+<link rel="chapter" href="Continuations.html" title="Chapter 12. Continuations">
+<link rel="chapter" href="PluginConfigurations.html" title="Chapter 13. Plugin Configurations">
+<link rel="chapter" href="ActionsGuide.html" title="Chapter 14. Actions Guide">
+<link rel="chapter" href="IOGuide.html" title="Chapter 15. IO Guide">
+<link rel="chapter" href="PluginManagement.html" title="Chapter 16. Plugin Management">
+<link rel="chapter" href="AddingStatistics.html" title="Chapter 17. Adding Statistics">
+<link rel="chapter" href="FunctionReference.html" title="Chapter 18. Function Reference">
+<link rel="appendix" href="App_SampleSourceCode.html" title="Appendix A. Sample Source Code">
+<link rel="appendix" href="App_DeprecatedFunctions.html" title="Appendix B. Deprecated Functions">
+<link rel="appendix" href="App_Troubleshooting.html" title="Appendix C. Troubleshooting Tips">
+<link rel="appendix" href="FunctionIndex.html" title="Appendix D. Function Index">
+<link rel="appendix" href="TypeIndex.html" title="Appendix E. Type Index">
+<link rel="index" href="ConceptIndex.html" title="Index">
+<script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/event/event-min.js"></script><script type="text/javascript" src="http://yui.yahooapis.com/2.2.2/build/treeview/treeview-min.js"></script><script type="text/javascript" src="js/tocnodes.js"></script><script type="text/javascript" src="js/toc.js"></script><script type="text/javascript">
+    document.write("<style> div.toc {display: none} </style>"); 
+  </script>
+</head>
+<body>
+<div class="doctitle">
+<a href="index.html">Home</a>
+<img src="images/docbook/ts75.png"><h1 class="doctitle">Traffic Server Software Developers Kit</h1>
+</div>
+<div class="navheader">
+<div class="navprev">
+<a accesskey="p" href="ch07s02.html">Prev</a> — Reads and Writes</div>
+<div class="navnext">Sample Plugin — <a accesskey="n" href="ch07s04.html">Next</a>
+</div>
+</div>
+<div id="toc"></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="id378046"></a>State Diagram</h2></div></div></div>
+<p>text</p>
+</div>
+</body>
+</html>

Propchange: incubator/trafficserver/site/trunk/docs/sdk/ch07s03.html
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message