You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2010/09/25 01:09:12 UTC

svn commit: r1001106 - /trafficserver/traffic/trunk/proxy/api/ts/ts.h

Author: zwoop
Date: Fri Sep 24 23:09:12 2010
New Revision: 1001106

URL: http://svn.apache.org/viewvc?rev=1001106&view=rev
Log:
Make the include file standard-C compatible again

Modified:
    trafficserver/traffic/trunk/proxy/api/ts/ts.h

Modified: trafficserver/traffic/trunk/proxy/api/ts/ts.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/api/ts/ts.h?rev=1001106&r1=1001105&r2=1001106&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/api/ts/ts.h (original)
+++ trafficserver/traffic/trunk/proxy/api/ts/ts.h Fri Sep 24 23:09:12 2010
@@ -2374,7 +2374,7 @@ extern "C"
   typedef enum
     {
       TS_STAT_TYPE_INT = 1,
-      //  The following are not supported yet.
+      /*  The following are not supported yet. */
       TS_STAT_TYPE_FLOAT,
       TS_STAT_TYPE_STRING,
       TS_STAT_TYPE_COUNTER,
@@ -2394,20 +2394,20 @@ extern "C"
       TS_STAT_SYNC_TIMEAVG,
     } TSStatSync;
 
-  // Note that only TS_STAT_TYPE_INT is supported at this point.
+  /*  Note that only TS_STAT_TYPE_INT is supported at this point. */
   inkapi int TSStatCreate(const char *the_name, TSStatDataType the_type, TSStatPersistence persist, TSStatSync sync);
 
   inkapi TSReturnCode TSStatIntIncrement(int the_stat, INKMgmtInt amount);
   inkapi TSReturnCode TSStatIntDecrement(int the_stat, INKMgmtInt amount);
-  // Currently not supported.
-  // inkapi TSReturnCode TSStatFloatIncrement(int the_stat, float amount);
-  // inkapi TSReturnCode TSStatFloatDecrement(int the_stat, float amount);
+  /* Currently not supported. */
+  /* inkapi TSReturnCode TSStatFloatIncrement(int the_stat, float amount); */
+  /* inkapi TSReturnCode TSStatFloatDecrement(int the_stat, float amount); */
 
   inkapi TSReturnCode TSStatIntGet(int the_stat, INKMgmtInt* value);
   inkapi TSReturnCode TSStatIntSet(int the_stat, INKMgmtInt value);
-  // Currently not supported.
-  // inkapi TSeturnCode TSStatFloatGet(int the_stat, float* value);
-  // inkapi TSReturnCode TSStatFloatSet(int the_stat, float value);
+  /* Currently not supported. */
+  /* inkapi TSeturnCode TSStatFloatGet(int the_stat, float* value); */
+  /* inkapi TSReturnCode TSStatFloatSet(int the_stat, float value); */
 
   inkapi int TSStatFindName(const char* name);