Re: [API Review] Expose HttpDebugNames:: to plugins

2014-03-11 Thread Leif Hedstrom
From the feedback, I’d like to move along with the following two API additions: tsapi const char* TSHttpServerStateNameLookup(TSServerState state); tsapi const char* TSHttpHookNameLookup(TSHttpHookID hook); tsapi const char* TSHttpEventNameLookup(TSEvent event); The other 2 debug API

Re: [API Review] Expose HttpDebugNames:: to plugins

2014-03-03 Thread Bryan Call
On 3/1/14, 9:01 PM, James Peach wrote: On Feb 28, 2014, at 3:21 PM, Leif Hedstrom wrote: The internals of ATS has some static functions to convert from internal enum values to a descriptive string. This includes: HttpDebugNames::get_server_state_name() HttpDebugNames::get_eve

Re: [API Review] Expose HttpDebugNames:: to plugins

2014-03-03 Thread Bryan Call
On Mar 1, 2014, at 9:01 PM, James Peach wrote: > On Feb 28, 2014, at 3:21 PM, Leif Hedstrom wrote: > >> The internals of ATS has some static functions to convert from internal enum >> values to a descriptive string. This includes: >> >> HttpDebugNames::get_server_state_name() >> Ht

Re: [API Review] Expose HttpDebugNames:: to plugins

2014-03-01 Thread Leif Hedstrom
> On Mar 1, 2014, at 3:01 PM, James Peach wrote: > >> On Feb 28, 2014, at 3:21 PM, Leif Hedstrom wrote: >> >> The internals of ATS has some static functions to convert from internal enum >> values to a descriptive string. This includes: >> >>HttpDebugNames::get_server_state_name() >>

Re: [API Review] Expose HttpDebugNames:: to plugins

2014-03-01 Thread James Peach
On Feb 28, 2014, at 3:21 PM, Leif Hedstrom wrote: > The internals of ATS has some static functions to convert from internal enum > values to a descriptive string. This includes: > > HttpDebugNames::get_server_state_name() > HttpDebugNames::get_event_name() > HttpDebugNames::ge

[API Review] Expose HttpDebugNames:: to plugins

2014-02-28 Thread Leif Hedstrom
The internals of ATS has some static functions to convert from internal enum values to a descriptive string. This includes: HttpDebugNames::get_server_state_name() HttpDebugNames::get_event_name() HttpDebugNames::get_action_name() HttpDebugNames::get_cache_action_n