[
https://issues.apache.org/jira/browse/TS-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom reassigned TS-2598:
---------------------------------
Assignee: Leif Hedstrom
> Expose HttpDebugNames to public plugin APIs
> -------------------------------------------
>
> Key: TS-2598
> URL: https://issues.apache.org/jira/browse/TS-2598
> Project: Traffic Server
> Issue Type: New Feature
> Components: TS API
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Labels: api-addition
> Fix For: 5.0.0
>
>
> It'd be really useful to expose all the HttpDebugNames:: functions into one
> (or several?) API calls.
> Either
> {code}
> const char* TSGetDebugName(type, ID);
> {code}
> where type would be a new enum of e.g.
> typedef enum
> {
> TS_DEBUG_STATE_NAME,
> TS_DEBUG_METHOD_NAME,
> TS_DEBUG_EVENT_NAME,
> ...
> } TSDebugNameID;
> or perhaps
> {code}
> const char* TSGetDebugStateName(id);
> const char* TSGetDebugMethodName(id);
> ...
> {code}
> I personally favor the former, it's more easily extended with future
> additions.
--
This message was sent by Atlassian JIRA
(v6.2#6252)