Author: igalic
Date: Thu Sep 22 13:23:07 2011
New Revision: 1174117
URL: http://svn.apache.org/viewvc?rev=1174117&view=rev
Log:
improve documentation of example/remap plugin.
Modified:
trafficserver/traffic/trunk/example/remap/remap.cc
Modified: trafficserver/traffic/trunk/example/remap/remap.cc
URL:
http://svn.apache.org/viewvc/trafficserver/traffic/trunk/example/remap/remap.cc?rev=1174117&r1=1174116&r2=1174117&view=diff
==============================================================================
--- trafficserver/traffic/trunk/example/remap/remap.cc (original)
+++ trafficserver/traffic/trunk/example/remap/remap.cc Thu Sep 22 13:23:07 2011
@@ -1,6 +1,6 @@
/** @file
- A brief file description
+ A simple remap plugin for ATS
@section license License
@@ -19,13 +19,16 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+
+ @section description
+ Build this sample remap plugin using tsxs:
+
+ $ tsxs -v -C remap.cc -o remap.so
+
+ To install it:
+ # tsxs -i -o remap.so
*/
-/* ------------------------------------------------------------------------- */
-/* - remap.cc - */
-/* ------------------------------------------------------------------------- */
-// remap.cc - simple remap plugin for YTS
-// g++ -D_FILE_OFFSET_BITS=64 -shared -I./ -o remap.so remap.cc
#include <stdio.h>
#include <stdlib.h>