You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Walt Karas <wk...@yahooinc.com.INVALID> on 2022/09/01 00:44:18 UTC

Re: [E] Re: Proposed change to CPP API

Headers in tscpp/api must only be used in plugins.  Headers in tscpp/util
may be used in both core TS and in plugins.  Alan created these two
directories.  This is my memory of what he said about how to use them, you
could double check with him.

On Wed, Aug 31, 2022 at 4:32 PM Masakazu Kitajo <ma...@apache.org> wrote:

> Can someone tell me what should be under tscpp/api and tscpp/util ?
>
> On Wed, Aug 31, 2022 at 5:07 AM Walt Karas <wk...@yahooinc.com.invalid>
> wrote:
>
> > I propose moving Cleanup.h from plugins/xdebug to include/ts/api as a
> part
> > of
> https://urldefense.com/v3/__https://github.com/apache/trafficserver/pull/9044__;!!Op6eflyXZCqGR5I!CH8A5bdia1Bh-ck753pPSkrDeJdbzphCy3qIpewtAMlNbGFB6RE_8pS7ac1BoL7DQ170dbxODcaDzWc$
>  .
> >
>

Re: [E] Re: Proposed change to CPP API

Posted by Walt Karas <wk...@yahooinc.com.INVALID>.
Wow, your question is actually answered in docs:
https://docs.trafficserver.apache.org/developer-guide/introduction/header-file-structure.en.html?highlight=cppapi
. Run out and buy a lottery ticket, the goddess of good fortune is smiling
upon you today.

On Wed, Aug 31, 2022 at 7:44 PM Walt Karas <wk...@yahooinc.com> wrote:

> Headers in tscpp/api must only be used in plugins.  Headers in tscpp/util
> may be used in both core TS and in plugins.  Alan created these two
> directories.  This is my memory of what he said about how to use them, you
> could double check with him.
>
> On Wed, Aug 31, 2022 at 4:32 PM Masakazu Kitajo <ma...@apache.org> wrote:
>
>> Can someone tell me what should be under tscpp/api and tscpp/util ?
>>
>> On Wed, Aug 31, 2022 at 5:07 AM Walt Karas <wk...@yahooinc.com.invalid>
>> wrote:
>>
>> > I propose moving Cleanup.h from plugins/xdebug to include/ts/api as a
>> part
>> > of
>> https://urldefense.com/v3/__https://github.com/apache/trafficserver/pull/9044__;!!Op6eflyXZCqGR5I!CH8A5bdia1Bh-ck753pPSkrDeJdbzphCy3qIpewtAMlNbGFB6RE_8pS7ac1BoL7DQ170dbxODcaDzWc$
>>  .
>> >
>>
>