You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2010/05/13 19:44:13 UTC

svn commit: r943951 [14/19] - in /trafficserver/traffic/tags/2.1.0: ./ ci/ example/add-header/ example/app-template/ example/append-transform/ example/basic-auth/ example/blacklist-0/ example/blacklist-1/ example/bnull-transform/ example/cache_scan/ ex...

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.cc Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  CLI.cc - code to handle server side command line interface
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -53,13 +53,13 @@
 #define MAX_BUF_READ_SIZE 1024
 
 /* Protocol strings
- *        
+ *
  *  Our protocol is that tranmissions always end
  *    with a null character
  *
- *  Replys from the server have 
+ *  Replys from the server have
  *     "1;" prefixed on success and
- *     "0;" prefixed on failure. 
+ *     "0;" prefixed on failure.
  *
  *   The client is responsible for stripping off the
  *     success/fail prefix
@@ -381,9 +381,9 @@ CLI_globals::TestAlarm(textBuffer * outp
   CLI_globals::set_response(output, CLI_globals::successStr, result, plevel);
 }                               // end cliTestAlarm()
 
-// 
+//
 // OEM_ALARM
-// additional feature; allows the addition of a customized alarm to be 
+// additional feature; allows the addition of a customized alarm to be
 // added from the command line ( -a option)
 //
 void
@@ -406,7 +406,7 @@ CLI_globals::AddAlarm(char *largs,      
 
 //   Initiate a shutdown of local manager  - local node only
 //
-//   Note: for the user this function is executed to do a manager 
+//   Note: for the user this function is executed to do a manager
 //         restart.  The watcher will immediately restart the manager
 //         so this function appears to "restart" the manger.  From
 //         manager's perspective, all this code does is prepare
@@ -430,7 +430,7 @@ CLI_globals::ShutdownMgmtL(char *largs, 
 
 //    Initiate a shutdown of local manager  - cluster wide
 //
-//   Note: for the user this function is executed to do a manager 
+//   Note: for the user this function is executed to do a manager
 //         restart.  The watcher will immediately restart the manager
 //         so this function appears to "restart" the manger.  From
 //         manager's perspective, all this code does is prepare
@@ -491,9 +491,9 @@ CLI_globals::Startup(char *largs,       
 
 }                               // end Startup()
 
-// 
+//
 // Used for congestion control feature. Returns a list of congested servers.
-// 
+//
 void
 CLI_globals::QueryDeadhosts(char *largs,        /*     IN: arguments */
                             textBuffer * output,        /* IN/OUT: output buffer */
@@ -515,7 +515,7 @@ CLI_globals::QueryDeadhosts(char *largs,
         break;
       memset(response, 0, MAX_BUF_READ_SIZE);
     }
-    if (send_exit_request(fd) < 0) {    // also closes the fd 
+    if (send_exit_request(fd) < 0) {    // also closes the fd
       Debug("cli", "[QueryDeadhosts] error closing RAF connection");
     }
   }
@@ -540,7 +540,7 @@ handleCLI(int cliFD,            /* IN: U
   CLI_DATA cli_data = { NULL, NULL, NULL, NULL, NULL, CL_EV_HELP, 0, 0 };
   cmdline_events event = CL_EV_ERROR;
 
-  // An instance of a command line events handler 
+  // An instance of a command line events handler
   CmdLine_EventHandler evHandler(MaxNumTransitions);
 
   // Create an instance of a FSM for command line event handler
@@ -550,11 +550,11 @@ handleCLI(int cliFD,            /* IN: U
   // Note all events have to be handled at each level since
   // users can input them anywhere by mistake. This makes
   // for a *huge* transition table but since we use a FSM there is
-  // no easy way around this for now. 
+  // no easy way around this for now.
 
 
   // base level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_BASE, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_BASE, CL_BASE, CL_EV_ERROR, Ind_BaseLevel);
   cliFSM.defineTransition(CL_BASE, CL_BASE, CL_EV_HELP, Ind_BaseLevel);
@@ -580,7 +580,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_BASE, CL_BASE, CL_EV_ELEVEN, Ind_BaseLevel);
 
   // Monitor Level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_MONITOR, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_MONITOR, CL_MONITOR, CL_EV_ERROR, Ind_MonitorLevel);
   cliFSM.defineTransition(CL_MONITOR, CL_MONITOR, CL_EV_HELP, Ind_MonitorLevel);
@@ -605,7 +605,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_MONITOR, CL_MONITOR, CL_EV_ELEVEN, Ind_MonitorLevel);
 
   // Monitor->Dashboard Level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_MON_DASHBOARD, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_MON_DASHBOARD, CL_MON_DASHBOARD, CL_EV_ERROR, Ind_MonitorDashboardLevel);
   cliFSM.defineTransition(CL_MON_DASHBOARD, CL_MON_DASHBOARD, CL_EV_HELP, Ind_MonitorDashboardLevel);
@@ -630,7 +630,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_MON_DASHBOARD, CL_MON_DASHBOARD, CL_EV_ELEVEN, Ind_MonitorDashboardLevel);
 
   // Monitor->Node Level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_MON_NODE, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_MON_NODE, CL_MON_NODE, CL_EV_ERROR, Ind_MonitorNodeLevel);
   cliFSM.defineTransition(CL_MON_NODE, CL_MON_NODE, CL_EV_HELP, Ind_MonitorNodeLevel);
@@ -655,7 +655,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_MON_NODE, CL_MON_NODE, CL_EV_ELEVEN, Ind_MonitorNodeLevel);
 
   // Monitor->Protocols Level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_MON_PROTOCOLS, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_MON_PROTOCOLS, CL_MON_PROTOCOLS, CL_EV_ERROR, Ind_MonitorProtocolsLevel);
   cliFSM.defineTransition(CL_MON_PROTOCOLS, CL_MON_PROTOCOLS, CL_EV_HELP, Ind_MonitorProtocolsLevel);
@@ -681,7 +681,7 @@ handleCLI(int cliFD,            /* IN: U
 
 
   // Monitor->Cache Level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_MON_CACHE, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_MON_CACHE, CL_MON_CACHE, CL_EV_ERROR, Ind_MonitorCacheLevel);
   cliFSM.defineTransition(CL_MON_CACHE, CL_MON_CACHE, CL_EV_HELP, Ind_MonitorCacheLevel);
@@ -707,7 +707,7 @@ handleCLI(int cliFD,            /* IN: U
 
 
   // Monitor->Other Level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_MON_OTHER, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_MON_OTHER, CL_MON_OTHER, CL_EV_ERROR, Ind_MonitorOtherLevel);
   cliFSM.defineTransition(CL_MON_OTHER, CL_MON_OTHER, CL_EV_HELP, Ind_MonitorOtherLevel);
@@ -732,7 +732,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_MON_OTHER, CL_MON_OTHER, CL_EV_ELEVEN, Ind_MonitorOtherLevel);
 
   // Configure level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONFIGURE, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONFIGURE, CL_CONFIGURE, CL_EV_ERROR, Ind_ConfigureLevel);
   cliFSM.defineTransition(CL_CONFIGURE, CL_CONFIGURE, CL_EV_HELP, Ind_ConfigureLevel);
@@ -758,7 +758,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONFIGURE, CL_CONFIGURE, CL_EV_ELEVEN, Ind_ConfigureLevel);
 
   // Configure->Server level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_SERVER, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_SERVER, CL_CONF_SERVER, CL_EV_ERROR, Ind_ConfigureServerLevel);
   cliFSM.defineTransition(CL_CONF_SERVER, CL_CONF_SERVER, CL_EV_HELP, Ind_ConfigureServerLevel);
@@ -783,7 +783,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_SERVER, CL_CONF_SERVER, CL_EV_ELEVEN, Ind_ConfigureServerLevel);
 
   // Configure->Protocols level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_PROTOCOLS, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_PROTOCOLS, CL_CONF_PROTOCOLS, CL_EV_ERROR, Ind_ConfigureProtocolsLevel);
   cliFSM.defineTransition(CL_CONF_PROTOCOLS, CL_CONF_PROTOCOLS, CL_EV_HELP, Ind_ConfigureProtocolsLevel);
@@ -808,7 +808,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_PROTOCOLS, CL_CONF_PROTOCOLS, CL_EV_ELEVEN, Ind_ConfigureProtocolsLevel);
 
   // Configure->Cache level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_CACHE, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_CACHE, CL_CONF_CACHE, CL_EV_ERROR, Ind_ConfigureCacheLevel);
   cliFSM.defineTransition(CL_CONF_CACHE, CL_CONF_CACHE, CL_EV_HELP, Ind_ConfigureCacheLevel);
@@ -833,7 +833,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_CACHE, CL_CONF_CACHE, CL_EV_ELEVEN, Ind_ConfigureCacheLevel);
 
   // Configure->Security level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_SECURITY, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_SECURITY, CL_CONF_SECURITY, CL_EV_ERROR, Ind_ConfigureSecurityLevel);
   cliFSM.defineTransition(CL_CONF_SECURITY, CL_CONF_SECURITY, CL_EV_HELP, Ind_ConfigureSecurityLevel);
@@ -858,7 +858,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_SECURITY, CL_CONF_SECURITY, CL_EV_ELEVEN, Ind_ConfigureSecurityLevel);
 
   // Configure->Routing level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_ROUTING, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_ROUTING, CL_CONF_ROUTING, CL_EV_ERROR, Ind_ConfigureRoutingLevel);
   cliFSM.defineTransition(CL_CONF_ROUTING, CL_CONF_ROUTING, CL_EV_HELP, Ind_ConfigureRoutingLevel);
@@ -883,7 +883,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_ROUTING, CL_CONF_ROUTING, CL_EV_ELEVEN, Ind_ConfigureRoutingLevel);
 
   // Configure->HostDB level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_HOSTDB, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_HOSTDB, CL_CONF_HOSTDB, CL_EV_ERROR, Ind_ConfigureHostDBLevel);
   cliFSM.defineTransition(CL_CONF_HOSTDB, CL_CONF_HOSTDB, CL_EV_HELP, Ind_ConfigureHostDBLevel);
@@ -908,7 +908,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_HOSTDB, CL_CONF_HOSTDB, CL_EV_ELEVEN, Ind_ConfigureHostDBLevel);
 
   // Configure->Logging level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_LOGGING, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_LOGGING, CL_CONF_LOGGING, CL_EV_ERROR, Ind_ConfigureLoggingLevel);
   cliFSM.defineTransition(CL_CONF_LOGGING, CL_CONF_LOGGING, CL_EV_HELP, Ind_ConfigureLoggingLevel);
@@ -933,7 +933,7 @@ handleCLI(int cliFD,            /* IN: U
   cliFSM.defineTransition(CL_CONF_LOGGING, CL_CONF_LOGGING, CL_EV_ELEVEN, Ind_ConfigureLoggingLevel);
 
   // Configure->Snapshots level
-  //                      source,  dest,   event,  index 
+  //                      source,  dest,   event,  index
   cliFSM.defineTransition(CL_CONF_SNAPSHOTS, CL_BASE, INTERNAL_ERROR, Ind_InternalError);
   cliFSM.defineTransition(CL_CONF_SNAPSHOTS, CL_CONF_SNAPSHOTS, CL_EV_ERROR, Ind_ConfigureSnapshotsLevel);
   cliFSM.defineTransition(CL_CONF_SNAPSHOTS, CL_CONF_SNAPSHOTS, CL_EV_HELP, Ind_ConfigureSnapshotsLevel);
@@ -959,7 +959,7 @@ handleCLI(int cliFD,            /* IN: U
 
   // Get ready to parse input
   inputBuf[1024] = '\0';
-  cmdTok.setMaxTokens(3);       //input form -> <batch/interactive> <command> <args> 
+  cmdTok.setMaxTokens(3);       //input form -> <batch/interactive> <command> <args>
 
   // process command from 'cli'
   // NOTE: will need to change the protocol a little bit
@@ -1028,13 +1028,13 @@ handleCLI(int cliFD,            /* IN: U
       Debug("cli", "event SET \n");
       event = CL_EV_SET;
     } else if (strcasecmp(cli_data.command, "display") == 0 || strcasecmp(cli_data.command, "alarms") == 0) {
-      // in the dashboard handler       
+      // in the dashboard handler
       Debug("cli", "event DISPLAY \n");
       event = CL_EV_DISPLAY;
     } else if (strcasecmp(cli_data.command, "add_alarm") == 0) {
       // OEM_ALARM
       Debug("cli", "customized ALARM added \n");
-      // created a new event = CL_EV_ADD_ALARM which 
+      // created a new event = CL_EV_ADD_ALARM which
       // calls AddAlarm function; add this transition to the FSM
       event = CL_EV_ADD_ALARM;
     } else if (strcasecmp(cli_data.command, "change") == 0 || strcasecmp(cli_data.command, "resolve") == 0) {

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLI.h Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  CLI.h - interface to handle server side command line interface
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #ifndef _CLI_H_

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.cc Thu May 13 17:43:56 2010
@@ -24,9 +24,9 @@
 /***************************************/
 /****************************************************************************
  *
- *  Module: 
- *  
- * 
+ *  Module:
+ *
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -56,7 +56,7 @@
 // functionality is there. This should all be
 // internationalized with LOCALE stuff(gettext() or catgets()) at some point.
 //
-// It would also be nice if all display textual info is in file 
+// It would also be nice if all display textual info is in file
 // that can be read in for each level/mode so that changing
 // the layout/format could be more easily controlled.
 // Unfortunately this might lead to having to develop infrastruture
@@ -224,7 +224,7 @@ const
    "to requests that contain cookies(1=Yes,0=No)", "%*d) %-*s %*s\n",
    15, 15, 50, 3},
   // Variable Content,  Do not serve - 4
-  // and Match these HTTP header fields 
+  // and Match these HTTP header fields
   {"proxy.config.http.cache.enable_default_vary_headers", NULL,
    "Enable Alternates(1=Yes,0=No)", "%*d) %-*s %*s\n",
    15, 15, 50, 3},
@@ -461,7 +461,7 @@ const
 const
   CLI_globals::VarNameDesc
   CLI_configure::conf_snapshots_desctable[NUM_CONF_SNAPSHOTS_DESCS] = {
-  // 
+  //
   {"proxy.config.", NULL,
    "", "%*d) %-*s %*s\n",
    10, 10, 50, 3}
@@ -844,7 +844,7 @@ CLI_configure::doConfigureCache(CLI_DATA
                  conf_cache_desctable[i].name_value_width, buf);
         c_data->output->copyFrom(tmpbuf, strlen(tmpbuf));
       }
-      // 11 
+      // 11
       if (i == (highmark - NUM_CONF_CACHE_FRESH_DESCS)) {
         c_data->output->copyFrom(line19, strlen(line19));
       } else if (i == (1 + highmark - NUM_CONF_CACHE_FRESH_DESCS)) {

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIconfigure.h Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: Encapsulates command line configuration
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #ifndef _CLI_CONFIGURE_H_

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.cc Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: concrete class for comand line interface event handling
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -147,7 +147,7 @@ CmdLine_EventHandler::BaseLevel(void *cd
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_BASE);
@@ -262,7 +262,7 @@ CmdLine_EventHandler::MonitorLevel(void 
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_MONITOR);
@@ -381,7 +381,7 @@ CmdLine_EventHandler::MonitorDashboardLe
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_MON_DASHBOARD);
@@ -460,7 +460,7 @@ CmdLine_EventHandler::MonitorNodeLevel(v
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_MON_NODE);
@@ -541,7 +541,7 @@ CmdLine_EventHandler::MonitorProtocolsLe
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_MON_PROTOCOLS);
@@ -627,7 +627,7 @@ CmdLine_EventHandler::MonitorCacheLevel(
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_MON_CACHE);
@@ -707,7 +707,7 @@ CmdLine_EventHandler::MonitorOtherLevel(
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_MON_OTHER);
@@ -777,7 +777,7 @@ CmdLine_EventHandler::MonitorOtherLevel(
 }                               // end MonitorOtherLevel()
 
 
-// 
+//
 // Handle command at server configuration level
 //
 bool
@@ -794,7 +794,7 @@ CmdLine_EventHandler::ConfigureServerLev
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_SERVER);
@@ -821,7 +821,7 @@ CmdLine_EventHandler::ConfigureServerLev
     CLI_globals::Change(cli_data->args, CLI_configure::conf_server_desctable, NUM_SERVER_DESCS,
                         cli_data->output, curr_state);
     break;
-  case CL_EV_ONE:              // Display all server configuration 
+  case CL_EV_ONE:              // Display all server configuration
     /* Fall through */
   case CL_EV_TWO:              // show server only
     /* Fall through */
@@ -860,7 +860,7 @@ CmdLine_EventHandler::ConfigureServerLev
 }                               // end ConfigureServerLevel()
 
 
-// 
+//
 // Handle command at server protocols level
 //
 bool
@@ -877,7 +877,7 @@ CmdLine_EventHandler::ConfigureProtocols
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_PROTOCOLS);
@@ -904,7 +904,7 @@ CmdLine_EventHandler::ConfigureProtocols
     CLI_globals::Change(cli_data->args, CLI_configure::conf_protocols_desctable, NUM_CONF_PROTOCOLS_DESCS,
                         cli_data->output, curr_state);
     break;
-  case CL_EV_ONE:              // show protocols configuration 
+  case CL_EV_ONE:              // show protocols configuration
     /* Fall through */
   case CL_EV_TWO:              // show HTTP configuration
     /* Fall through */
@@ -941,7 +941,7 @@ CmdLine_EventHandler::ConfigureProtocols
 }                               // end ConfigureProtocolsLevel()
 
 
-// 
+//
 // Handle command at server cache level
 //
 bool
@@ -958,7 +958,7 @@ CmdLine_EventHandler::ConfigureCacheLeve
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_CACHE);
@@ -985,13 +985,13 @@ CmdLine_EventHandler::ConfigureCacheLeve
     CLI_globals::Change(cli_data->args, CLI_configure::conf_cache_desctable, NUM_CONF_CACHE_DESCS,
                         cli_data->output, curr_state);
     break;
-  case CL_EV_ONE:              // show cache configuration 
+  case CL_EV_ONE:              // show cache configuration
     /* Fall through */
   case CL_EV_TWO:              // show cache storage configuration
     /* Fall through */
   case CL_EV_THREE:            // show cache activation configuration
     /* Fall through */
-  case CL_EV_FOUR:             // show cache freshness configuration 
+  case CL_EV_FOUR:             // show cache freshness configuration
     /* Fall through */
   case CL_EV_FIVE:             // show cache variable content configuration
     Debug("cli_event", "ConfigureCacheLevel: entered %d case \n", cli_data->cevent);
@@ -1024,7 +1024,7 @@ CmdLine_EventHandler::ConfigureCacheLeve
 }                               // end ConfigureCacheLevel()
 
 
-// 
+//
 // Handle command at security configuration level
 //
 bool
@@ -1041,7 +1041,7 @@ CmdLine_EventHandler::ConfigureSecurityL
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_SECURITY);
@@ -1068,11 +1068,11 @@ CmdLine_EventHandler::ConfigureSecurityL
     CLI_globals::Change(cli_data->args, CLI_configure::conf_security_desctable, NUM_CONF_SECURITY_DESCS,
                         cli_data->output, curr_state);
     break;
-  case CL_EV_ONE:              // show security configuration 
+  case CL_EV_ONE:              // show security configuration
     /* Fall through */
-  case CL_EV_TWO:              // show access configuration 
+  case CL_EV_TWO:              // show access configuration
     /* Fall through */
-  case CL_EV_THREE:            // show firewall configuration 
+  case CL_EV_THREE:            // show firewall configuration
     Debug("cli_event", "ConfigureSecurityLevel: entered %d case \n", cli_data->cevent);
     CLI_configure::doConfigureSecurity(cli_data);
     break;
@@ -1106,7 +1106,7 @@ CmdLine_EventHandler::ConfigureSecurityL
   return TRUE;
 }                               // end ConfigureSecurityLevel()
 
-// 
+//
 // Handle command at routing configuration level
 //
 bool
@@ -1123,7 +1123,7 @@ CmdLine_EventHandler::ConfigureRoutingLe
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_ROUTING);
@@ -1189,7 +1189,7 @@ CmdLine_EventHandler::ConfigureRoutingLe
 }                               // end ConfigureRoutingLevel()
 
 
-// 
+//
 // Handle command at hostDB configuration level
 //
 bool
@@ -1206,7 +1206,7 @@ CmdLine_EventHandler::ConfigureHostDBLev
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_HOSTDB);
@@ -1233,7 +1233,7 @@ CmdLine_EventHandler::ConfigureHostDBLev
     CLI_globals::Change(cli_data->args, CLI_configure::conf_hostdb_desctable, NUM_CONF_HOSTDB_DESCS,
                         cli_data->output, curr_state);
     break;
-  case CL_EV_ONE:              // show HostDB configuration 
+  case CL_EV_ONE:              // show HostDB configuration
     /* Fall through */
   case CL_EV_TWO:              // show host database configuration
     /* Fall through */
@@ -1272,7 +1272,7 @@ CmdLine_EventHandler::ConfigureHostDBLev
 }                               // end ConfigureHostDBLevel()
 
 
-// 
+//
 // Handle command at logging configuration level
 //
 bool
@@ -1289,7 +1289,7 @@ CmdLine_EventHandler::ConfigureLoggingLe
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_LOGGING);
@@ -1316,7 +1316,7 @@ CmdLine_EventHandler::ConfigureLoggingLe
     CLI_globals::Change(cli_data->args, CLI_configure::conf_logging_desctable, NUM_CONF_LOGGING_DESCS,
                         cli_data->output, curr_state);
     break;
-  case CL_EV_ONE:              // show Logging configuration 
+  case CL_EV_ONE:              // show Logging configuration
     /* Fall through */
   case CL_EV_TWO:              // show event logging configuration
     /* Fall through */
@@ -1355,9 +1355,9 @@ CmdLine_EventHandler::ConfigureLoggingLe
 }                               // end ConfigureLoggingLevel()
 
 
-// 
+//
 // Handle command at snapshots configuration level
-// 
+//
 // NOTE: not handled currently
 //
 bool
@@ -1374,7 +1374,7 @@ CmdLine_EventHandler::ConfigureSnapshots
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONF_SNAPSHOTS);
@@ -1403,7 +1403,7 @@ CmdLine_EventHandler::ConfigureSnapshots
                         cli_data->output, curr_state);
     break;
   case CL_EV_ONE:              // Display
-    // show Snapshots configuration 
+    // show Snapshots configuration
     Debug("cli_event", "ConfigureSnapshotsLevel: entered %d case \n", cli_data->cevent);
     CLI_configure::doConfigureSnapshots(cli_data);
     break;
@@ -1442,7 +1442,7 @@ CmdLine_EventHandler::ConfigureSnapshots
 }                               // end ConfigureSnapshotsLevel()
 
 
-// 
+//
 // Handle command at base configuration level
 //
 bool
@@ -1459,7 +1459,7 @@ CmdLine_EventHandler::ConfigureLevel(voi
   case CL_EV_EXIT:
     // we don't handle exit command on server side
     // since it is handled on client side in 'traffic_cli'
-    // will need to handle in case of direct telnet to 
+    // will need to handle in case of direct telnet to
     // say a command line port
     // Ingore for now.
     CLI_globals::set_response(cli_data->output, CLI_globals::failStr, CLI_globals::unknownCmd, CL_CONFIGURE);
@@ -1562,7 +1562,7 @@ CmdLine_EventHandler::ConfigureLevel(voi
 }                               // end ConfigureLevel()
 
 //
-//  private Member fcn 
+//  private Member fcn
 //
 void
 CmdLine_EventHandler::FillHandlersArray(void)

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIeventHandler.h Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: concrete class for comand line interface event handling
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #ifndef _CMDLINE_EVENTHANDLER_H
@@ -134,7 +134,7 @@ private:
   char *args;                   /* arugments passed to this level */
   cmdline_states curr_state;    /* current command line state */
 
-  /* Redefinition of the abstract base class's pure virtual function 
+  /* Redefinition of the abstract base class's pure virtual function
    * ref: AbsEvenhandler.h   */
   void FillHandlersArray(void);
 
@@ -157,7 +157,7 @@ private:
   bool ConfigureLoggingLevel(void *cdata);
   bool ConfigureSnapshotsLevel(void *cdata);
 
-  /* copy constructor and assignment operator are private 
+  /* copy constructor and assignment operator are private
    *  to prevent their use */
     CmdLine_EventHandler(const CmdLine_EventHandler & rhs);
     CmdLine_EventHandler & operator=(const CmdLine_EventHandler & rhs);

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIhelp.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIhelp.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIhelp.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIhelp.cc Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: Help facility for CLI
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -146,7 +146,7 @@ static const char *MonOtherHelpStrings[n
 // to select. This would entail adding more functionality
 // that comes for free if you use 'curses'.
 //
-// One possiblity is for ascii based use isto use 'lynx' WWW to access 
+// One possiblity is for ascii based use isto use 'lynx' WWW to access
 // the web configuration
 //
 
@@ -301,20 +301,20 @@ CLI_globals::Help(textBuffer * output,  
   Debug("cli", "help: advui(%d),featset(%d), hlevel(%d)\n", advui, featset, hlevel);
 
   // create appropriate Help response
-  // 
+  //
   // See 'MgmtFeat.cc'
   // advui == 1(10) -> Advanced UI only           (Regular TS HTTP)
   //       == 0(00) -> Simple UI only             (on hold....)
   //       == 2(01) -> RNI UI only                (TS for Real Networks, only does RNI caching)
   //       == 3(11) -> Advanced UI + RNI features (TS w/ RN support HTTP/RNI )
   // Currently only used to implement cheesy licensing
-  // featset == 1 -> indicates that Advanced UI is enabled 
+  // featset == 1 -> indicates that Advanced UI is enabled
   //         == 0 -> indicates that Advanced UI is disabled
   switch (hlevel) {
   case CL_MONITOR:
     for (i = 0; i < numCmdMonitor; i++) {
       if ((0 == advui || 2 == advui) && (1 == i || 3 == i))
-        continue;               // only show dashboard/protocols/other 
+        continue;               // only show dashboard/protocols/other
       // for simple/RNI UI
       output->copyFrom(MonitorHelpStrings[i], strlen(MonitorHelpStrings[i]));
     }
@@ -322,7 +322,7 @@ CLI_globals::Help(textBuffer * output,  
   case CL_MON_PROTOCOLS:
     for (i = 0; i < numCmdMonProtocols; i++) {
       if ((0 == advui || 2 == advui) && (1 == i || 2 == i || 4 == i))
-        continue;               // only show 
+        continue;               // only show
       // for simple/RNI UI
       output->copyFrom(MonProtHelpStrings[i], strlen(MonProtHelpStrings[i]));
     }

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.cc Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: handles creating formated line output for the CLI
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -195,7 +195,7 @@ CLIlineBuffer::addField(const char *fiel
 char *
 CLIlineBuffer::getline()
 {
-  char tmpbuf[1024];            // assume no text is greater than 
+  char tmpbuf[1024];            // assume no text is greater than
   // this for now
   DynArray < const char *>*f_ptrs = NULL;
   char *line_buf = NULL;
@@ -218,7 +218,7 @@ CLIlineBuffer::getline()
   //  Debug("cli","getline: iters=%d, line_size=%d, buf_size=%d, c_fields=%d, depth=%d \n",
   //         iters,line_size,buf_size,c_fields,buf_depth);
 
-  // clear line buffer 
+  // clear line buffer
   memset(line_buf, '\0', buf_size);
 
   // assign running ptrs to the output strings

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLIlineBuffer.h Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: handles creating formated line output for the CLI
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #ifndef _CLI_LINEBUFFER_H_
@@ -45,7 +45,7 @@ private:
     DynArray < const char *>*o_string;  /* array of output strings */
     DynArray<int>*f_widths;  /* array of field widths */
 
-  /* copy constructor and assignment operator are private 
+  /* copy constructor and assignment operator are private
    *  to prevent their use */
     CLIlineBuffer(const CLIlineBuffer & rhs);
     CLIlineBuffer & operator=(const CLIlineBuffer & rhs);

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.cc Thu May 13 17:43:56 2010
@@ -24,9 +24,9 @@
 /***************************************/
 /****************************************************************************
  *
- *  Module: 
- *  
- * 
+ *  Module:
+ *
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -58,7 +58,7 @@
 // functionality is there. This should all be
 // internationalized with LOCALE stuff(gettext() or catgets()) at some point.
 //
-// It would also be nice if all display textual info is in file 
+// It would also be nice if all display textual info is in file
 // that can be read in for each level/mode so that changing
 // the layout/format could be more easily controlled.
 // Unfortunately this might lead to having to develop infrastruture
@@ -344,7 +344,7 @@ const
   {"proxy.process.socks.connections_currently_open\\c", NULL,
    "Connections in progress", "%-*s %*s\n",
    10, 10, 50, 3},
-  // LOGGING - 5 
+  // LOGGING - 5
   {"proxy.process.log2.log_files_open\\c", NULL,
    "Currently Open Log Files", "%-*s %*s\n",
    10, 10, 50, 3},
@@ -570,7 +570,7 @@ CLI_monitor::doMonitorProtocolStats(CLI_
     }
     c_data->output->copyFrom("\n", strlen("\n"));
   }
-  // Check if RNI enabled 
+  // Check if RNI enabled
   if (3 == c_data->advui || 2 == c_data->advui) {       // yes, so show stats
     highmark += NUM_PROT_RNI_DESCS;
     if (CL_EV_ONE == c_data->cevent || CL_EV_SEVEN == c_data->cevent) {
@@ -773,7 +773,7 @@ CLI_monitor::doMonitorOtherStats(CLI_DAT
 }                               // end doMonitorOtherStats()
 
 //
-// Handle displaying monitor->dashboard 
+// Handle displaying monitor->dashboard
 //
 void
 CLI_monitor::doMonitorDashboard(CLI_DATA * c_data /* IN: client data */ )
@@ -791,7 +791,7 @@ CLI_monitor::doMonitorDashboard(CLI_DATA
   // Need to change outputing of headers to use CLIlineBuffer()
   // Obuf = new CLIlineBuffer(6);
 
-  if (CL_EV_ONE == c_data->cevent) {    // dashboard header 
+  if (CL_EV_ONE == c_data->cevent) {    // dashboard header
     // output seperator
     c_data->output->copyFrom(CLI_globals::sep2, strlen(CLI_globals::sep2));
     c_data->output->copyFrom(line1, strlen(line1));

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CLImonitor.h Thu May 13 17:43:56 2010
@@ -25,8 +25,8 @@
 /****************************************************************************
  *
  *  Module: Encapsulates command line handling of displaying statistics
- *  
- * 
+ *
+ *
  ****************************************************************************/
 
 #ifndef _CLI_MONITOR_H_

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliMain.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliMain.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliMain.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliMain.cc Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  *
  *  CliMain.cc - A simple client to communicate to local manager
  *
- * 
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -104,7 +104,7 @@ handleArgInvocation(clientCLI * cli)
   ink_strncpy(bufToLm, "b ", bufRemaining);
   --bufRemaining;
 
-  // Following options must be sent over as their numeric 
+  // Following options must be sent over as their numeric
   // equivalents that show up in the interactive menu
   // this is ugly but makes the number of handled events smaller
   // on the manager side
@@ -316,7 +316,7 @@ main(int argc, char **argv)
   timeout_arg = -1;
 
   // build the application information structure
-  appVersionInfo.setup(PACKAGE_NAME,"traffic_line", PACKAGE_VERSION, __DATE__, 
+  appVersionInfo.setup(PACKAGE_NAME,"traffic_line", PACKAGE_VERSION, __DATE__,
                        __TIME__, BUILD_MACHINE, BUILD_PERSON, "");
 
   clientCLI *cli = new clientCLI();

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.cc Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  *
  *  CliUtils.cc - Utilities to handle command line interface communication
  *
- * 
+ *
  ****************************************************************************/
 
 #include "ink_unused.h"        /* MAGIC_EDITING_TAG */
@@ -76,10 +76,10 @@ cli_read(int fd, char *buf, int maxlen)
 }                               /* End cli_read() */
 
 
-/* 
+/*
  * cli_write(...)
  *   Simple, inefficient, write line function. Takes a fd to write to, an
- * unsigned char * containing the data, and the number of bytes to write. 
+ * unsigned char * containing the data, and the number of bytes to write.
  * It sends nbytes + 1 bytes worth of data, the + 1 being a NULL character
  *
  * Returns:    num bytes not written
@@ -118,7 +118,7 @@ cli_write(int fd, const char *data, int 
 //
 //
 
-// ink_hrtime milliTime() 
+// ink_hrtime milliTime()
 //
 // Returns the result of gettimeofday converted to
 // one 64bit int
@@ -193,7 +193,7 @@ cli_read_timeout(int fd, char *buf, int 
       fprintf(stderr, "Read from traffic_manager failed : %s\n", strerror(errno));
       return -1;
     } else if (sys_r == 0) {
-      // No more data.  The connection was closed 
+      // No more data.  The connection was closed
       return bytesRead;
     } else {
       // More data was read
@@ -213,10 +213,10 @@ cli_read_timeout(int fd, char *buf, int 
   return -1;
 }                               /* End cli_read_timeout */
 
-/* 
+/*
  * cli_write_timeout(...)
  * Takes a fd to write to, an unsigned char * containing the data,
- * and the number of bytes to write and timeout in 
+ * and the number of bytes to write and timeout in
  * milli-seconds.  Negative time out cause the function not to
  * return until all data is written
  * It sends nbytes + 1 bytes worth of data, the + 1 being a NULL character
@@ -328,7 +328,7 @@ GetTSDirectory(char *ts_path, size_t ts_
       if (ts_path[len - 1] == '/') {
         ts_path[len - 1] = '\0';
       }
-      
+
       fclose(fp);
     } else {
       ink_strncpy(ts_path, PREFIX, ts_path_len);
@@ -336,7 +336,7 @@ GetTSDirectory(char *ts_path, size_t ts_
   }
 
   if ((err = stat(ts_path, &s)) < 0) {
-    printf("unable to stat() TS PATH '%s': %d %d, %s\n", 
+    printf("unable to stat() TS PATH '%s': %d %d, %s\n",
               ts_path, err, errno, strerror(errno));
     printf(" Please set correct path in env variable TS_ROOT \n");
     return -1;

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/CliUtils.h Thu May 13 17:43:56 2010
@@ -28,7 +28,7 @@
  *
  *  CliUtils.h - Utilities to handle command line interface communication
  *
- * 
+ *
  ****************************************************************************/
 #include "ink_platform.h"
 #include "ink_hrtime.h"

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.cc Thu May 13 17:43:56 2010
@@ -24,8 +24,8 @@
 /****************************************************************************
  *
  *  Module: Simple Finite State Machine class
- *  Source: CUJ  
- * 
+ *  Source: CUJ
+ *
  ****************************************************************************/
 
 #include "ink_config.h"
@@ -48,7 +48,7 @@ FSMQueue::FSMQueue()
   tail = NULL;
 }                               // end FSMQueue
 
-// 
+//
 //    destory the queue
 //
 //    NOTE: Does not attempt to deallocate the entries
@@ -118,19 +118,19 @@ FSMQueue::enqueue(void *data /* IN: obje
   }
 }                               // end enqueue()
 
-/* 
- * 01/14/99 elam - 
+/*
+ * 01/14/99 elam -
  * Commented out because g++ is not happy with iostream.h
 //
 //   Prints out the queue.  For DEBUG only
 //
-void 
-FSMQueue::Print() 
+void
+FSMQueue::Print()
 {
   FSMQueueEntry* current = head;
 
   cout << "FSM Queue: " << this << endl;
-  while (current != NULL) 
+  while (current != NULL)
     {
       cout << "\tdata: " << current->data << " next: " << current->next << " prev: " << current->prev <<endl;
       current = current->next;
@@ -180,7 +180,7 @@ FSM::~FSM()
 }                               // end ~FSM()
 
 //
-// Insert event onto queue 
+// Insert event onto queue
 //
 void
 FSM::insertInQueue(int inEvent, /* IN: event to insert */
@@ -204,7 +204,7 @@ FSM::insertInQueue(int inEvent, /* IN: e
 
 
 //
-// Used to find a place in the transition table to insert 
+// Used to find a place in the transition table to insert
 // the defined transition. Returns free index postion if available.
 //
 int
@@ -230,7 +230,7 @@ FSM::hash_search(int inSourceState,     
 
 
 //
-// Used to get transition number(i.e. index in transtion table) for event. 
+// Used to get transition number(i.e. index in transtion table) for event.
 //
 int
 FSM::hash_index(int inEvent /* IN: */ )
@@ -280,7 +280,7 @@ FSM::defineTransition(int inSourceState,
 
 
 //
-// Control which event handler gets called and then sets the 
+// Control which event handler gets called and then sets the
 // next state in the FSM.
 //
 int

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/FSM.h Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  *
  *  Module: Simple Finite State Machine class
  *  Source: CUJ
- * 
+ *
  ****************************************************************************/
 
 #ifndef _FSM_H
@@ -70,8 +70,8 @@ typedef struct StructEvent
 } STRUCT_EVENT;
 
 
-/* 
-** Finite State Machine class 
+/*
+** Finite State Machine class
 **/
 class FSM
 {
@@ -104,7 +104,7 @@ private:
 
   int hash_index(int inEvent /* IN: */ );
 
-  /* copy constructor and assignment operator are private 
+  /* copy constructor and assignment operator are private
    *  to prevent their use */
     FSM(const FSM & rhs);
     FSM & operator=(const FSM & rhs);

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.cc Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  *
  *  clientCLI.cc - A simple client to communicate to local manager
  *
- * 
+ *
  ****************************************************************************/
 
 #include "inktomi++.h"
@@ -100,7 +100,7 @@ clientCLI::GetTSDirectory(char *ts_path,
       if (ts_path[len - 1] == '/') {
         ts_path[len - 1] = '\0';
       }
-      
+
       fclose(fp);
     } else {
       ink_strncpy(ts_path, PREFIX, ts_path_len);
@@ -108,7 +108,7 @@ clientCLI::GetTSDirectory(char *ts_path,
   }
 
   if ((err = stat(ts_path, &s)) < 0) {
-    fprintf(stderr,"unable to stat() TS PATH '%s': %d %d, %s\n", 
+    fprintf(stderr,"unable to stat() TS PATH '%s': %d %d, %s\n",
               ts_path, err, errno, strerror(errno));
     fprintf(stderr," Please set correct path in env variable TS_ROOT \n");
     return -1;
@@ -275,7 +275,7 @@ clientCLI::sendCommand(const char *cmd, 
     if (timeLeft < 0)
       timeLeft = 0;
   }
-  // read and get response string from Local Manager 
+  // read and get response string from Local Manager
   return readResponse(response, timeLeft);
 }
 

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli/clientCLI.h Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  *
  *  clientCLI.h - A simple client to communicate to local manager
  *
- * 
+ *
  ****************************************************************************/
 
 #ifndef _CLIENT_CLI_H_

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.cc Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: CliCreateCommands.cc
  * Purpose: This file contains the CLI command creation function.
  *
- * 
+ *
  ****************************************************************/
 
 #include "CliCreateCommands.h"

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliCreateCommands.h Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: CliCreateCommands.h
  * Purpose: This file contains the CLI command creation function.
  *
- * 
+ *
  ****************************************************************/
 
 #ifndef __CLI_CREATE_COMMANDS_H__

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.cc Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  * Purpose: This file contains the implementation of CliDisplay
  *          routines for the use of TB
  *
- * 
+ *
  ****************************************************************/
 
 #include "inktomi++.h"

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliDisplay.h Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: CliDisplay.h
  * Purpose: This file contains the CLI display routines.
  *
- * 
+ *
  ****************************************************************/
 
 #include <stdarg.h>

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.cc Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  * Purpose: This file contains various utility functions which
  *          call the INKMgmtAPI.
  *
- * 
+ *
  ****************************************************************/
 
 #include "inktomi++.h"
@@ -578,7 +578,7 @@ GetTSDirectory(char *ts_path, size_t ts_
       if (ts_path[len - 1] == '/') {
         ts_path[len - 1] = '\0';
       }
-      
+
       fclose(fp);
     } else {
       ink_strncpy(ts_path, PREFIX, ts_path_len);
@@ -586,7 +586,7 @@ GetTSDirectory(char *ts_path, size_t ts_
   }
 
   if ((err = stat(ts_path, &s)) < 0) {
-    Cli_Error("unable to stat() TS PATH '%s': %d %d, %s\n", 
+    Cli_Error("unable to stat() TS PATH '%s': %d %d, %s\n",
               ts_path, err, errno, strerror(errno));
     Cli_Error(" Please set correct path in env variable TS_ROOT \n");
     return -1;

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/CliMgmtUtils.h Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
  * Purpose: This file declares various utility functions which
  *          call the INKMgmtAPI.
  *
- * 
+ *
  ****************************************************************/
 
 #include "../api2/include/INKMgmtAPI.h"
@@ -69,7 +69,7 @@ INKError Cli_RecordSetInt(const char *re
 //Set a float type records.config variable
 INKError Cli_RecordSetFloat(const char *rec_name, INKFloat float_val, INKActionNeedT * action_need);
 
-// Set a string type records.config variable  
+// Set a string type records.config variable
 INKError Cli_RecordSetString(const char *rec_name, INKString str_val, INKActionNeedT * action_need);
 
 // Retrieve and display contents of a rules file

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.cc Thu May 13 17:43:56 2010
@@ -2529,7 +2529,7 @@ int
 Cmd_ConfigAlarm(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[])
 {
   /* call to processArgForCommand must appear at the beginning
-   * of each command's callback function 
+   * of each command's callback function
    */
   if (processArgForCommand(interp, argc, argv) != CLI_OK) {
     return CMD_ERROR;
@@ -3788,7 +3788,7 @@ ConfigCacheFreshnessMinimum(int arg_ref,
   }
 }
 
-// config Cache FreshnessNoExpireLimit 
+// config Cache FreshnessNoExpireLimit
 int
 ConfigCacheFreshnessNoExpireLimit(INKInt min, INKInt max, int setvar)
 {
@@ -4087,7 +4087,7 @@ ConfigVirtualipAdd(char *ip, char *devic
   case 0:                      //get
     return (ConfigVirtualIpList());
 
-  case 1:                      //set 
+  case 1:                      //set
 
     VipElePtr = INKVirtIpAddrEleCreate();
 
@@ -4124,7 +4124,7 @@ ConfigVirtualipAdd(char *ip, char *devic
   }
 }
 
-//config virtualip delete 
+//config virtualip delete
 int
 ConfigVirtualipDelete(int ip_no, int setvar)
 {
@@ -4194,7 +4194,7 @@ int
 Cmd_ConfigNetwork(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[])
 {
   /* call to processArgForCommand must appear at the beginning
-   * of each command's callback function 
+   * of each command's callback function
    */
   if (processArgForCommand(interp, argc, argv) != CLI_OK) {
     return CMD_ERROR;
@@ -4494,7 +4494,7 @@ IsValidDomainname(char *str)
 int
 getnameserver(char *nameserver, int len)
 {
-#if (HOST_OS == linux) 
+#if (HOST_OS == linux)
   char buff[256];
   FILE *fstr;
   if ((fstr = fopen(NAMESERVER_PATH, "r")) == NULL)
@@ -4525,7 +4525,7 @@ getnameserver(char *nameserver, int len)
 #if (HOST_OS == solaris)
 /*
  * NOTE: This routine is found in libnsl (-lnsl). No prototype was found in
- * any of the header files in /usr/include. Define a prototype here to keep the 
+ * any of the header files in /usr/include. Define a prototype here to keep the
  * compiler happy.
  */
 extern int getdomainname(char *, int);
@@ -5790,7 +5790,7 @@ ConfigRadiusKeys(const char *record)
     return CLI_ERROR;
   }
   if (old_pwd_file && strcasecmp(old_pwd_file, "NULL")) {
-    // remove the old_pwd_file 
+    // remove the old_pwd_file
     if (remove(old_pwd_file) != 0)
       Cli_Debug("[ConfigRadiusKeys] Failed to remove password file %s", old_pwd_file);
     xfree(old_pwd_file);

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigCmd.h Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: ConfigCmd.h
  * Purpose: This file contains the CLI's "config" command definitions.
  *
- * 
+ *
  ****************************************************************/
 
 #include "../api2/include/INKMgmtAPI.h"
@@ -951,7 +951,7 @@ int ConfigCacheFreshnessVerify(int arg_r
 // config Cache Freshness Minimum sub-command
 int ConfigCacheFreshnessMinimum(int arg_ref, int setvar);
 
-// config Cache FreshnessNoExpireLimit 
+// config Cache FreshnessNoExpireLimit
 int ConfigCacheFreshnessNoExpireLimit(INKInt min, INKInt max, int setvar);
 
 // config Cache Vary sub-command
@@ -972,7 +972,7 @@ int ConfigVirtualIpList();
 //config virtualip add
 int ConfigVirtualipAdd(char *ip, char *device, int subinterface, int set_var);
 
-//config virtualip delete 
+//config virtualip delete
 int ConfigVirtualipDelete(int ip_no, int set_var);
 
 // config Logging Event sub-command

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.cc Thu May 13 17:43:56 2010
@@ -23,7 +23,7 @@
 
 /****************************************************************
  * Filename: ConfigUpgradeCmd.cc
- * Purpose: This file contains the CLI's "config:write/read/install/upgrade" 
+ * Purpose: This file contains the CLI's "config:write/read/install/upgrade"
    command implementation.
  *
  ****************************************************************/

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeCmd.h Thu May 13 17:43:56 2010
@@ -93,7 +93,7 @@ class CIFCWriteEntry
   char Input[CONFIG_UPGRADE_BUF_SIZE];
   int CountOn;
 
-  // write IFC file 
+  // write IFC file
   int ConfigWriteIFCEle();
 
 public:
@@ -172,7 +172,7 @@ class CIFCReadEntry
   int CountOn;
   int Count;
 
-  // read IFC file 
+  // read IFC file
   int ConfigReadIFCEle();
 
   int ConfigReadPrintIFCEle();

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeReadCmd.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeReadCmd.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeReadCmd.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeReadCmd.cc Thu May 13 17:43:56 2010
@@ -23,7 +23,7 @@
 
 /****************************************************************
  * Filename: ConfigUpgradeReadCmd.cc
- * Purpose: This file contains the CLI's "config:read" 
+ * Purpose: This file contains the CLI's "config:read"
    command implementation.
  *
  ****************************************************************/
@@ -99,7 +99,7 @@ CIFCReadEntry::ConfigReadPrintIFCEle()
      p += strlen(ListEle);
      if (Tcl_ListObjAppendElement(interp, ListPtr, ObjPtr) == CLI_ERROR){
      return CLI_ERROR;
-     } 
+     }
      }
      return CLI_OK; */
 
@@ -166,7 +166,7 @@ CIFCReadEntry::ConfigReadIFCEle()
     sscanf(p1, "%d\n", &Count);
     snprintf(CountString, sizeof(CountString), "%d", Count);
     p1 += (strlen(CountString));
-    //fall through    
+    //fall through
 
   case 0:
     p1++;

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeWriteCmd.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeWriteCmd.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeWriteCmd.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ConfigUpgradeWriteCmd.cc Thu May 13 17:43:56 2010
@@ -23,7 +23,7 @@
 
 /****************************************************************
  * Filename: ConfigUpgradeWriteCmd.cc
- * Purpose: This file contains the CLI's "config:write" 
+ * Purpose: This file contains the CLI's "config:write"
    command implementation.
  *
  ****************************************************************/

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.cc Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: ShowCmd.cc
  * Purpose: This file contains the "show" command implementation.
  *
- * 
+ *
  ****************************************************************/
 
 #include <stdlib.h>
@@ -2572,7 +2572,7 @@ ShowHttpTransStats()
                    &msec_avg_10s_errors_pre_accept_hangups);
   Cli_RecordGetInt("proxy.node.http.transaction_msec_avg_10s.other.unclassified", &msec_avg_10s_other_unclassified);
 
-  //display 
+  //display
   Cli_Printf("\n");
   Cli_Printf("HTTP Transaction Frequency and Speeds\n");
   Cli_Printf("Transaction Type              Frequency   Speed(ms)\n");
@@ -2755,7 +2755,7 @@ ShowCacheStats()
   Cli_RecordGetInt("proxy.process.cache.remove.success", &remove_success);
   Cli_RecordGetInt("proxy.process.cache.remove.failure", &remove_failure);
 
-  //display values  
+  //display values
   Cli_Printf("\n");
   Cli_Printf("Bytes Used --- %d GB\n", bytes_used / (1024 * 1024 * 1024));
   Cli_Printf("Cache Size --- %d GB\n", bytes_total / (1024 * 1024 * 1024));
@@ -2793,7 +2793,7 @@ ShowCacheStats()
 int
 ShowHostDbStats()
 {
-  //variables 
+  //variables
   INKFloat hit_ratio = -1.0;
   INKFloat lookups_per_second = -1.0;
 

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/ShowCmd.h Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: ShowCmd.h
  * Purpose: This file contains the CLI's "show" command definitions.
  *
- * 
+ *
  ****************************************************************/
 
 #include <tcl.h>

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.cc Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: UtilCmds.cc
  * Purpose: This file contains the CLI's utility commands.
  *
- * 
+ *
  ****************************************************************/
 
 #include "UtilCmds.h"
@@ -52,7 +52,7 @@ int
 DebugCmd(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[])
 {
   /* call to processArgForCommand must appear at the beginning
-   * of each command's callback function 
+   * of each command's callback function
    */
   if (processArgForCommand(interp, argc, argv) != CLI_OK) {
     return CMD_ERROR;
@@ -149,7 +149,7 @@ int
 Cmd_ConfigRoot(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[])
 {
   /* call to processArgForCommand must appear at the beginning
-   * of each command's callback function 
+   * of each command's callback function
    */
   if (processArgForCommand(interp, argc, argv) != CLI_OK) {
     return CMD_ERROR;

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/UtilCmds.h Thu May 13 17:43:56 2010
@@ -25,7 +25,7 @@
  * Filename: UtilCmds.h
  * Purpose: This file contains the CLI's utility commands.
  *
- * 
+ *
  ****************************************************************/
 
 

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliMain.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliMain.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliMain.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliMain.cc Thu May 13 17:43:56 2010
@@ -56,7 +56,7 @@ main(int argc, char *argv[])
                        __TIME__, BUILD_MACHINE, BUILD_PERSON, "");
 
   // Argument description table used to describe how to parse command line args,
-  // see 'ink_args.h' for meanings of the various fields 
+  // see 'ink_args.h' for meanings of the various fields
   ArgumentDescription argument_descriptions[] = {
     {"version", 'V', "Print Version Id", "T", &version_flag, NULL, NULL}
   };

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliParseArg.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliParseArg.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliParseArg.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cliParseArg.cc Thu May 13 17:43:56 2010
@@ -26,7 +26,7 @@
 
  *
  *      cliParseArgument(int argc,char **argv,cli_ArgvInfo *argTable)
- *      compares the given arguments with the expected arguments and 
+ *      compares the given arguments with the expected arguments and
  *      returns error if they are not same
  *      If arguments are are valid it converts string arguments to the proper type
  *
@@ -152,7 +152,7 @@ cliParseArgument(int argc, const char **
     for (infoPtr = argTable; (infoPtr->key != NULL); infoPtr++) {
       if (!strcmp(infoPtr->key, curArg)) {
         gotMatch = TRUE;
-        if (infoPtr->position != CLI_ARGV_NO_POS) {     /* Don't do position checking for 
+        if (infoPtr->position != CLI_ARGV_NO_POS) {     /* Don't do position checking for
                                                            CLI_ARGV_NO_POS */
           /* check if the 1st position argument comes at 1st position */
           if ((infoPtr->position == CLI_PARENT_ARGV) && (srcIndex - 1) != 1) {

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cli_scriptpaths.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cli_scriptpaths.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cli_scriptpaths.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/cli_scriptpaths.h Thu May 13 17:43:56 2010
@@ -75,7 +75,7 @@
  * might want to be changed some time. */
 #define ADMIN_USER "admin"
 
-/* NOTE: all scripts should have two defines one for the script and 
+/* NOTE: all scripts should have two defines one for the script and
 *        the other for the trailing args */
 #define SPI_DOMAIN_NAME    "/usr/bin/domainname"
 

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.cc Thu May 13 17:43:56 2010
@@ -23,12 +23,12 @@
 
 /*
  *   createArgument.cc --
- * 
+ *
  *
  *    This file provides basic create Argument defintion,
  *    for any new arguments.
- * 
- *   
+ *
+ *
  *
  *
  *    Dated  : 12/11/2000.

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createArgument.h Thu May 13 17:43:56 2010
@@ -23,12 +23,12 @@
 
 /*
  *   createArgument.h --
- * 
+ *
  *
  *    This file provides basic create Argument declartion,
  *    for any new arguments.
- * 
- *   
+ *
+ *
  *
  *
  *    Dated  : 12/11/2000.
@@ -40,7 +40,7 @@
 #include <commandOptions.h>
 
 typedef union arg_value
-{                               /* Value of the argument can be 
+{                               /* Value of the argument can be
                                    integr or float or string */
   char *arg_string;
   int arg_int;
@@ -63,10 +63,10 @@ typedef struct cli_ArgvInfo
 {
   char *key;                    /*  The key string that flags
                                    the option  in the argv array */
-  int position;                 /* indicates position of the 
+  int position;                 /* indicates position of the
                                    argument in command */
   int type;                     /* Indicates argument type;  */
-  int arg_ref;                  /* User creates an integer to 
+  int arg_ref;                  /* User creates an integer to
                                    refer to this argument */
   lower_range l_range;          /* lower_range */
   upper_range u_range;          /* upper_range */
@@ -101,7 +101,7 @@ typedef struct cli_CommandInfo
 {
   const char *command_name;           /* command name    */
   cli_ArgvInfo *argtable;       /* pointer to argv table */
-  char **reqd_args;             /* holds reference no for 
+  char **reqd_args;             /* holds reference no for
                                    required arguments */
   cli_parsedArgInfo *parsedArgTable;    /* holds parsed arguments */
   char *helpString;

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.cc Thu May 13 17:43:56 2010
@@ -23,11 +23,11 @@
 
 /*
  *   createCommand.c --
- * 
+ *
  *
  *    This file provides basic create command definition,
  *    for any new commands.
- * 
+ *
  *    It overrides any existing commands with the new command
  *    without any warning
  *
@@ -59,7 +59,7 @@ createCommand(const char *cmdName, Tcl_C
   /* No code to support threads for Tcl */
 
   /* If required add thread Specific code
-     here 
+     here
      Hint: Use Tcl_GetThreadData
 
    */
@@ -148,7 +148,7 @@ int
 cmd_ok()
 {
   /* if it called many times, the interperter will store only
-     the latest. 
+     the latest.
    */
   Tcl_AppendElement(interp, "+OK");
   return TCL_OK;

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.h?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.h (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/createCommand.h Thu May 13 17:43:56 2010
@@ -23,13 +23,13 @@
 
 /*
  *   createCommand.h --
- * 
+ *
  *
  *    This file provides basic create command declartion,
  *    for any new commands.
- * 
+ *
  *    It overrides any existing commands with the new command
- *   
+ *
  *
  *
  *    Dated  : 12/11/2000.
@@ -42,14 +42,14 @@
 
 
 
-/* First Argument  cmdName: New command name for CLI 
+/* First Argument  cmdName: New command name for CLI
    Second Argument cmdFuncPtr : A 'C' function to be invoked
                                 for the new Command
    Third Argument argvFuncPtr : Function to attach arguments
                                 Pass NULL for no arguments.
    Fourth Argument cmdScope   : Scope of the command.
                                 Pass NULL, if the new command
-                                needs to be visible for 
+                                needs to be visible for
                                 the customer.
 */
 

Modified: trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/hashtable.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/hashtable.cc?rev=943951&r1=943950&r2=943951&view=diff
==============================================================================
--- trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/hashtable.cc (original)
+++ trafficserver/traffic/tags/2.1.0/proxy/mgmt2/cli2/hashtable.cc Thu May 13 17:43:56 2010
@@ -38,7 +38,7 @@
 
   GOVERNMENT USE: If you are acquiring this software on behalf of the
   U.S. government, the Government shall have only "Restricted Rights"
-  in the software and related documentation as defined in the Federal 
+  in the software and related documentation as defined in the Federal
   Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
   are acquiring the software on behalf of the Department of Defense, the
   software shall be classified as "Commercial Computer Software" and the