Yu Qing created TS-2200:
---------------------------

             Summary: the macro TS_HRTIME_xxx in proxy/api/ts/experimental.h is 
invalid when plugin use these macros
                 Key: TS-2200
                 URL: https://issues.apache.org/jira/browse/TS-2200
             Project: Traffic Server
          Issue Type: Bug
          Components: TS API
            Reporter: Yu Qing


such macro defines in proxy/api/ts/experimental.h:
#define TS_HRTIME_FOREVER  HRTIME_FOREVER
#define TS_HRTIME_DECADE   HRTIME_DECADE
#define TS_HRTIME_YEAR     HRTIME_YEAR
#define TS_HRTIME_WEEK     HRTIME_WEEK
#define TS_HRTIME_DAY      HRTIME_DAY
#define TS_HRTIME_HOUR     HRTIME_HOUR
#define TS_HRTIME_MINUTE   HRTIME_MINUTE
#define TS_HRTIME_SECOND   HRTIME_SECOND
#define TS_HRTIME_MSECOND  HRTIME_MSECOND
#define TS_HRTIME_USECOND  HRTIME_USECOND
#define TS_HRTIME_NSECOND  HRTIME_NSECOND
...

The macros of HRTIME_xxx (such as HRTIME_SECOND) in lib/ts/ink_hrtime.h。
Because the TS plugins SHOULD not include the header file ink_hrtime.h, so they 
can't use above macros like TS_HRTIME_xxx。



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to