[
https://issues.apache.org/jira/browse/TS-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934916#comment-13934916
]
ASF subversion and git services commented on TS-2630:
-----------------------------------------------------
Commit 575469618a2855b8b9bbeef020eefe7472494c0d in trafficserver's branch
refs/heads/master from [~yunkai]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=5754696 ]
Update CHANGES with TS-1062/TS-2610/TS-2612/TS-2630
> Add lib/ts/apidefs.h to place common types
> ------------------------------------------
>
> Key: TS-2630
> URL: https://issues.apache.org/jira/browse/TS-2630
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core, TS API
> Reporter: Yunkai Zhang
> Assignee: Yunkai Zhang
> Fix For: 5.0.0
>
> Attachments:
> 0001-TS-2630-Add-lib-ts-apidefs.h-to-place-common-types.patch
>
>
> The apidefs.h file is used to place common types that can be shared
> between internal code and TS APIs.
> It's hard to judge what types in api/ts/ts.h should be migrated to
> lib/ts/apidefs.h, so this patch is just a beginning ...
> Why I named it 'apidefs.h' instead of 'defs.h' and put it into 'lib/ts'?
> 1) Firstly, there is a 'ink_defs.h' file in 'lib/ts', then 'defs.h' seems
> too similar with it. So named it 'apidefs.h' would be more clearly.
> 2) Since 'apidefs.h' will be shared not only by 'iocore' modules, puting it
> into 'lib/ts' would be more suitable than 'iocore/api' or any other else.
--
This message was sent by Atlassian JIRA
(v6.2#6252)